Method Html3():setVar() Professional
Define a hidden variable in the HTML page.
:setVar( <cVarName>, <cValue> ) --> NIL
The return value of the method :setVar() is always NIL.
This method is frequently used for defining both, package DLL and form-function to be invoked by a submit button:
HTML code:
<INPUT TYPE=hidden NAME="WAA_PACKAGE" VALUE="MyDll">
<INPUT TYPE=hidden NAME="WAA_FORM" VALUE="MyFormFunction">
<INPUT TYPE=submit VALUE="Go get it">
PRG code:
oHTML:setVar( "WAA_PACKAGE", "MyDLL" )
oHTML:setVar( "WAA_FORM" , "MyFormFunction )
oHtml:submitButton( "Go get it" )
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.