Still does not work in IE or Netscape.

How about...

Is there a way to submit the form to the content frame and reset the 
left form with one click?

That's all I am trying to do is get the pulldown menu to default to 
Category Search. Having the input boxes cleared would be great too, 
but not necessary..

>Web Dude,
>
>Try this in your <A>...
>
>href="javascript:void(0);" onClick="document.myform.submit();change();"
>
>David Green
>[EMAIL PROTECTED]
>
>Web Dude wrote:
>>
>>  Okay I trie dthis and it still will not work
>>
>>  So far I have this (this is in the left frame)
>>
>>  Any Ideas?
>>  (may wrap)
>>
>>  <script language="JavaScript">
>>
>>  function change()
>>  {
>> 
>>parent.left.location="searchleft.taf?function=form&<@UserReferenceArgument>";
>>  }
>>
>>  //-->
>>
>>  <FORM Name=myform METHOD=POST
>>  ACTION="menu.taf?&<@UserReferenceArgument>" target="content">
>>
>>  <select name="maincategory">
>  > <option value="">Category Search
>>  <@ROWS>
>>  <option value="<@COLUMN 'MainCategory.Name'>"><@COLUMN "MainCategory.Name">
>>  </@ROWS>
>>  </select><br>
>>  <input type=text name="keywords" size=17 MAXLENGTH=30><br>
>>  <input type=text name="productnum" size=17 MAXLENGTH=20><br><center>
>>  <a HREF="javascript:document.myform.submit()"
>>  onMouseOver="window.status='Search Categories';return true;"
>>  onclick="change()"><img src="navimages/search.gif" border=0></a>
>>  </form>
>>
>>  >MSQL 7.0 sp3
>>  >IIS 4
>>  >NT 4.0
>>  >Witango 2000
>>  >
>>  >I have a framed site which has a pulldown menu in the left frame
>>  >that is genearated by a search of categories. When clicked, the list
>>  >of products displays in the content frame. I would like to refresh
>>  >the left frame after the user chooses the category so the pulldown
>>  >menu reverts to its original state (Category Search). It seems this
>>  >should be simple enough. The frames are named left, top and content.
>>  >Any Ideas on how to do this? This is what I have so far...
>>  >
>>  >
>>  ><FORM METHOD=POST ACTION="category.taf target="content">
>>  ><select name="maincategory"> <!--this is generated by a search of the db-->
>>  ><option value="">Category Search
>>  ><option value="Balloons">Balloons
>>  ><option value="Balls">Balls
>>  ><option value="etc.">Etc. Etc. Etc.
>>  ></select><br>
>>  ><input type=text name="keywords" size=17 MAXLENGTH=30>
>>  ><br>
>>  ><input type=text name="productnum" size=17 MAXLENGTH=20>
>>  ><INPUT TYPE=IMAGE BORDER=0 SRC="navimages/search.gif" border=0
>>  >NAME="Submit" onclick="window.location.reload()">
>>  ></form>
>>  >
>>  >
>>  >I also tried...
>>  >onclick="window.left.reload()"
>>  >and
>>  >onsubmit="window.left.reload()" in the form tag
>>  >and
>>  >onsubmit="window.location.reload()" in the form tag
>>  >
>>  >Thanks!
>>  >
>>  >--
>>  >________________________________________________________________________
>>  >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>>  >                with unsubscribe witango-talk in the message body
>>
>>  --
>>  ________________________________________________________________________
>>  TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>>                  with unsubscribe witango-talk in the message body
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body


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

Reply via email to