Location: PHPKode > scripts > RSPA > rspa/example/callwithparm.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
<!--
 * Created on Feb 25, 2006
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
-->
 <head>
  <title> </title>
   <script language="JavaScript" type="text/javascript" src="../rspa.js"></script>
 </head>
 <body>
 <input name="name2" type="text" id="name2">
 
 <a href="#" onclick="new RSPA.Execute('MyClass.functionWithParm()', { parameters: new Array('This was the argument u passed','2nd arg'),controller: '../framework/Controller.php'})">Function call with Argument</a>

<br />
<br />

<a href="#" onclick="new RSPA.Execute('MyClass.executeJS()', { controller: '../framework/Controller.php'})">Execute javascript at client</a>
   
 </body>
</html>
Return current item: RSPA