--
Hi everyone,
thought i might ask the list even though it is off topic.


I have the following code and my problem is that the search field (named 'Prod_Name') needs to be part of a different form. Now before you say, "well put it between separate <form></form> tags with the appropriate action", I can't, because it causes my HTML to screw up my layout - a common occurrence when two form tags follow each other.

If anyone has an idea of how to do this, maybe using javascript to submit the search string via a different form tag, I'd really appreciate your input because all of the JS and HTML that I tried doesn't work. There's probably a simpler approach I'm overlooking.

.....
I'm using a form tag at the top to try to separate the search string in the field down below and post it:

<form name='nav_search' action='./look.taf?_function=list&_start=1' method='post'></form>


<tr>
<td align="right" height="31" bgcolor="#006666" class="textsearch">

<form action="" name="SearchBar" method="get">
<SELECT ID="F3" NAME="BrandID" class="textsearch" onChange="MM_jumpMenu('parent',this,0)">
<OPTION VALUE="">Select a brand</OPTION>
<OPTION VALUE="./look.taf?_function=brand&Brand_uid1=71">Amber</OPTION>
</SELECT>&nbsp;<input type="text" name='Prod_Name' size="25" class="textsearch" maxlength="50" value="">&nbsp;</td>

<td bgcolor="#006666"><a href='javascript:document.nav_search.submit()'><IMG SRC="http://hhb.com.au/nav/gobutton.gif"; border="0" height=26 width=28 alt="Get Search Results"></a></td>

</form>
</tr>
........

thanks
Garth
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body

Reply via email to