B
BernieH
I'm trying to move a search value from one page to another; this works
nicely. Except that the user has to click a button to submit the 2nd page.
Can anybody suggest something to ensure the 2nd page is submitted
automatically without having to click "submit".
Here's the code.
TIA
<HTML>
<HEAD>
<TITLE>Welcome to XYZ</TITLE>
</HEAD>
<BODY onload="document.xyz.submit()">
<form name="form1" method="get"
action="http://www.some.com./search-name.asp?">
<input type="hidden"
name="tfSearchName" value="<?php $search=$HTTP_GET_VARS['search']; echo
"$search"; ?>">
<!-- <input type="submit" name="btSearchCo23" value="submit"> -->
Your browser should continue
automatically to XYZ. If it doesn't, click <input type="submit" value="
here ">
</form>
</BODY>
</HTML>
BernieH
nicely. Except that the user has to click a button to submit the 2nd page.
Can anybody suggest something to ensure the 2nd page is submitted
automatically without having to click "submit".
Here's the code.
TIA
<HTML>
<HEAD>
<TITLE>Welcome to XYZ</TITLE>
</HEAD>
<BODY onload="document.xyz.submit()">
<form name="form1" method="get"
action="http://www.some.com./search-name.asp?">
<input type="hidden"
name="tfSearchName" value="<?php $search=$HTTP_GET_VARS['search']; echo
"$search"; ?>">
<!-- <input type="submit" name="btSearchCo23" value="submit"> -->
Your browser should continue
automatically to XYZ. If it doesn't, click <input type="submit" value="
here ">
</form>
</BODY>
</HTML>
BernieH