Location: PHPKode > scripts > RSPA > rspa/example/callwithparm.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<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
  <title> </title>
   <script language="JavaScript" type="text/javascript" src="../rspa.js"></script>
 <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>
Return current item: RSPA