Re: Getting values from FORM objects


[ Follow-ups ] [ Post Follow-up ] [ WWWBoard for WebTV Developers ]

Posted by Jos Claerbout on August 17, 1999 at 11:01:15:

In Reply to: Getting values from FORM objects posted by John Martin on August 15, 1999 at 16:22:07:

John -

I'm having a hard time following this one. If you're reloading the page, won't that reset all the values of the form elements anyway? Since you're using frames, you may want to store all the variables in a frame that *doesn't* get reloaded.

Sorry if I misunderstood this one.

Regards,

Jos


: For some reason this script doesn't work on WebTV. It reloads the page properly but the forms value are
: undefined (empty, not null):

: <script language="javascript">
: function GetModel()
: {
: var locstring = "search.asp?key=model&makeid=";
: locstring += makemodelform.make.value;
: locstring += "&year=" + makemodelform.year.value;
: locstring += "&keyword=" +
: escape(makemodelform.keyword.value);
: top.location.href = locstring;
: }
: </script>

: Any Help?

: Thanks

: John




Follow-ups:



Post a Follow-up

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:


[ Follow-ups ] [ Post Follow-up ] [ WWWBoard for WebTV Developers ]