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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A JS to redirects queries

Status
Not open for further replies.

3allawy

Programmer
Oct 19, 2005
28
CA
Hey guys... I'm a pretty new programmer, and I wonder if anyone can give help me. I would like to right a js that redirects queries (from the index page) to the proper location based on radio button selections from the user....Below is the form (implemented in the index for the retreiving the queries). Actually the thing that I cannot predict is that which field in the form below, I should use or pass to the js inorder to decide where should the query be redirected.


<label for="quicksearchBox">Search:</label> <input class="styledinput" tabindex="1" accesskey="S" type="text" name="q" id="quicksearchBox" size="9" /><input class="styledinput" tabindex="2" type="submit" value="Go" id="quicksearchButton" /><br /><br />

<p><input type="radio" accesskey="J" name="selectedSearch" checked="checked" value="J"/> Vanier College</p>

<p><input type="radio" accesskey="C" name="selectedSearch" value="C" /> Abbot University</p>
</form>


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top