Hey Dude,

You're missing the '.href', so it should look like:

> parent.left.location.href =
"searchleft.taf?function=form&<@UserReferenceArgument>";

Actually, you might want to consider using 'location.replace' instead, so
that when the user clicks 'Back', that your previous display of the 'left'
frame doesn't come back. The behavior of the 'Back' button and frames can
be odd and unpredictable - depending on the browser of course.

So also try:

>
parent.left.location.replace("searchleft.taf?function=form&<@UserReferenceA
rgument>");

Hope this helps. Cheers....


----- Original Message -----
From: "Web Dude" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 11:27 AM
Subject: Re: Witango-Talk: OT Javascript Again


> Okay I tried this 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

Reply via email to