

‘Accept’ or ‘cancel’ and function of the selection of the option, php app execute one form or another grid. On the application menu, click New detail in the Master form / detail folder. The point is I want to run the php code, send a message to the user to I use php to javascript option because not know another way to do it. Better late than neverĪn alternative to do backwards? (From javascript to php) I was just doing this and did a forum search and no one had answered you, so here it is.
Scriptcase sc refresh parameter code#
To test that it is working, try the following as your code in the button:Īlert(“thejsinfo has been passed=”+thejsinfo) Īnyway, that works. Now you can use the var in your javascript in the button, just like if you had defined it in the script. get stuff based on the org’s own settings in DBĮcho “ var thejsinfo = '”.$theinfo. I caught one when I forgot the single quotes. Follows a table of all macros and special variables from ScriptCase, including the list of applications that works for each one. If you have problems, use firebug to debug console to see the error. By Diógenes Caraballo, I have a degree in Computer Science and a Diploma in Business Management and Marketing, Founder of Avanza Consultora (Partner of Netmake Scriptcase in Paraguay).Senior Programmer with more than 11 years of experience in Development, the last 5 years developing with Scriptcase. ScriptCase Macros Página 1 de 54 SCRIPTCASE MACROS Scriptcase has macros and special variables that allow the user to manipulate events, buttons, applications, security control, manipulate with dates, etc.


I had to have the single quotes around the var value. Note that you need to be careful about the quotes. The 3 lines of code below will echo out a javascript variable that can be used later, in the javascript button. maybe this will help you or anyone else who needs to do this:įirst, I have tested the variable initialization in both the onApplicationInit or onLoad events in a control type app. I just read your post, having to something with passing a value from the database into a javascript button.
