Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change form to call 1

Status
Not open for further replies.

GP

IS-IT--Management
Jan 14, 2002
61
GB
i use a 3rd pasrty search form which is called by:

<head>

<script language=&quot;JavaScript&quot; src=&quot;zoom_index.js&quot;></script>
<script language=&quot;JavaScript&quot; src=&quot;search.js&quot;></script>

</head>

<form method=&quot;GET&quot; action=&quot;search.html&quot;>
<input type=&quot;text&quot; name=&quot;zoom_query&quot; size=&quot;20&quot;>
<input type=&quot;submit&quot; value=&quot;Search&quot;>
<small> Results per page:
<select name=&quot;zoom_per_page&quot;>
<option selected>10</option>
<option >20</option>
<option >100</option>
</select><br><br>Match:
<input type=&quot;radio&quot; name=&quot;zoom_and&quot; value=&quot;0&quot; checked>any search words
<input type=&quot;radio&quot; name=&quot;zoom_and&quot; value=&quot;1&quot;>all search words
</small>
</form>

I need to put in some links to a fixed search page, i.e. the search term is 'cute'. I want to be able to click a href which runs the search for 'cute'.
 
this should do it:

<a href=&quot;search.html?zoom_query=cute&quot;>search for &quot;cute&quot;</a>

=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Thanks, that is perfect - it makes sense now!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top