Changes

Jump to: navigation, search

Passing Values Using Parameters

447 bytes added, 21:22, 7 October 2009
no edit summary
<a href="/urltopage?parameter1=@variable1@&parameter2=@variable2@">Click Here</a>
</pre>
 
Replace "variable1" with the actual variable name and "parameter1" with a corresponding name (eg. firstname=@firtsname@).
 
Replace "field1" or "element1" etc. with the actual form or element id name and "parameter1" with the parameter name.
 
eg.
 
<pre>
 
var para1=document.getElementById('firstname');
&lt;input type="text" value="" id="firstname">
 
or
 
var para1=document.getElementById('firstname');
&lt;div id="firstname">&lt;/div>
 
</pre>
Smartstaff, administrator
38
edits

Navigation menu