The reason that i want them passed through url variables is cause they need to stay when doing multi page searches, ie when they access page 11 of records etc, the info is there via the url variables, and also there are multiple forms on the page.
Would i be able to stick that ONCLICK="javascript:callme
Cheers,
Brad
Main Topics
Browse All Topics





by: anandkpPosted on 2003-08-28 at 03:45:06ID: 9239109
Hi Brad,
ame.cfm?va r1='"+docu ment.frm.u sername.va lue+"'";
()">
why u want to use URL values - why not use FORM.
I am saying so - bcos u ahve it submitting it to itself - so the form values will be defined
no need to submit thru URL
& if u think going by URL is the best way for u
then use javascript to populate teh variables in URL
eg :
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function callme()
{
document.frm.action="pagen
document.frm.submit();
}
//-->
</SCRIPT>
<form NAME="frm" METHOD="post">
<input NAME="username" VALUE="">
<img src="/images/submit.gif" ONCLICK="javascript:callme
</FORM>
copy this code & run on ur machine to see how it works
hope it helps
let me know
K'Rgds
Anand