TripapHoniCs
Programmer
Hello all--
I will try to explain what I am trying to do as best I can. I have a search feature on an HTML based site. The search feature is javascript. The main page is in 3 frames, i.e. vHeader, right_frame & left_frame. The search button is in the vHeader page located at the top. The problem I am having is when I do a search and click the "search" button, the results refresh the browser window with the requested data...no more frames! I am trying to get the "search" button to display the results in the right_frame. Here is what I have thus far.
<HTML><HEAD></HEAD>
<BODY BGCOLOR="#A3B7C7" LINK="#4F4F4F" VLINK="#4F4F4F">
<table border='0' cellpadding='0' cellspacing='1'><TR><TD VALIGN='TOP'>
</TD><TD VALIGN='TOP'>
<A HREF="basket.htm" target="right_frame">View Cart</A>
<A HREF="placeorder.htm" TARGET="right_frame">Place Order</A>
</TD><TD VALIGN='TOP'>
<form name="search_form1">
<table border="0" cellpadding="0" cellspacing="1">
<TR>
<TD><INPUT TYPE="text" NAME="search" SIZE="20"></TD>
<TD><INPUT TYPE="button" VALUE="Search" onClick="javascript:top.doSearch(document.search_form1, document.search_form1.search.value)"></TD></TR>
</TABLE></form>
</TD><TD VALIGN='TOP'>
</TD></TR></TABLE>
</BODY></HTML>
If someone could spell it out for me I would really appreciate it. Thanks
djTripapHoniCs. [sig][/sig]
I will try to explain what I am trying to do as best I can. I have a search feature on an HTML based site. The search feature is javascript. The main page is in 3 frames, i.e. vHeader, right_frame & left_frame. The search button is in the vHeader page located at the top. The problem I am having is when I do a search and click the "search" button, the results refresh the browser window with the requested data...no more frames! I am trying to get the "search" button to display the results in the right_frame. Here is what I have thus far.
<HTML><HEAD></HEAD>
<BODY BGCOLOR="#A3B7C7" LINK="#4F4F4F" VLINK="#4F4F4F">
<table border='0' cellpadding='0' cellspacing='1'><TR><TD VALIGN='TOP'>
</TD><TD VALIGN='TOP'>
<A HREF="basket.htm" target="right_frame">View Cart</A>
<A HREF="placeorder.htm" TARGET="right_frame">Place Order</A>
</TD><TD VALIGN='TOP'>
<form name="search_form1">
<table border="0" cellpadding="0" cellspacing="1">
<TR>
<TD><INPUT TYPE="text" NAME="search" SIZE="20"></TD>
<TD><INPUT TYPE="button" VALUE="Search" onClick="javascript:top.doSearch(document.search_form1, document.search_form1.search.value)"></TD></TR>
</TABLE></form>
</TD><TD VALIGN='TOP'>
</TD></TR></TABLE>
</BODY></HTML>
If someone could spell it out for me I would really appreciate it. Thanks
djTripapHoniCs. [sig][/sig]