HighDots Forums  

Please help me repost variables on refresh

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Please help me repost variables on refresh in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jedi Knight
 
Posts: n/a

Default Please help me repost variables on refresh - 07-18-2005 , 08:28 AM






Hi,

I'm going mad. I've looked through Google for a few days, but can't
seem to find the right info; I'm not even sure how to word my question
to get the proper results, lol.

the page in question is located at
http:\\www.livehorsepicks.com/newhistory.asp

or a more working model with popup calander

http:\\www.livehorsepicks.com/history.asp

this will give you an idea of what I'm trying to do.

As you can see, I have 2 user "selections". the track name, via a drop
down box, and the date, via a calander.

What I would like to do is when they select a track, refresh the page
and have the asp get the requried records. when they select the date,
do the same, but somehow keep the track selection. I can get it to
work for the first time: they load the page, they select the track, it
reloads, they select the date, it reloads with the proper track/date.
BUT, when they try to reselect a date, it complains about an object not
existing.

I'm going crazy, can anybody explain how this is done and perhaps
provide a few snippets?

The methods I've tried have been using response.request (i know, it's
asp code, but you javascript people may know it a bit) and have a
javascript function (from onclick) go to the href with the required
params in the url.

The main problem I encounter is trying to access form data with the
OnLoad event. It won't let me access the form cause it says it's not
created. At what point do form objects get created?

thx,
Bodi


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.