Expecting:
arg1 and 9532.12 some value | this is a string
Expecting:
No parameters needed
for this function.
Result:
[blank]
This script demonstrates the ability for xajax to send data to and call javascript functions on the client browser.
The first button, Click Me, will call a xajax function on the server, which will in turn send a response command back to the client to call myJSFunction. myJSFunction accepts three parameters which should match the text following 'Expecting:'.
The second button, or Click Me, will call a xajax function on the server which will return a response command back to the client to call myOtherJSFunction. myOtherJSFunction does not accept any parameters and simply pops up and alert explaining so.