How do I call client side VBScript using an HTML button?
My application is PHP5, HTML, MySQL based running on WinXP Pro, SP2. I'm using WAMP2 as my LAMP. (http://www.wampserver.com/en/
For the button Click event, I want to pass two values stored in HTML text fields to the VBScript. Call them businessUnit and glAccount. When the script finishes executing, I want to return a value from the VBSCript to the HTML page and and place that value in a text field . Call it returnStatus. See Code Snippet below.
Please be sure to address the two pass variables and the one return variable.
Note, in the code snippet the text fields "value=" are PHP variables.
<input name="businessUnit" type="hidden" value="$bu" />
<input name="glAccount" type="hidden" value="$glAccount" />
<input name="returnStatus" type="text" value="<?=$returnStatus?>" size="8" maxlength="8"/>