Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: Keeping a o...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 35541 of 37133
Post > Topic >>

Re: Keeping a option,select drop down list open on refresh / postback

by crazychrisy54@[EMAIL PROTECTED] May 9, 2008 at 05:33 AM

On May 9, 1:23 pm, Laser Lips <loudsphi...@[EMAIL PROTECTED]
> wrote:
> Cris, how is the page refre****ng?
>
> If the user is refre****ng it by presing the refresh button, or the
> page is refre****ng itself using meta tags, then there is no way to
> pass any state information to the page and you can not do it.
> HOWEVER, if the page is using JavaScript to refresh, then you can load
> the page instead of refre****ng it and send it the value of the
> currently selected dropdown, and reset the dropdown to that state when
> the page reloads.
>
> How is your page setup, is it just one frame?
>
> Graham

Hi Graham,

The page uses just one frame and the page refreshes automatically
using a meta tag. I was thinking there might be a way using java
script which detects when a user has clicked the dropped down list and
if so set a cookie saying the user has currently selected that drop
down list. Then when the page is refreshed, you could see if that
cookie is set and if so onload set the drop down list to be displayed?
I don't know if I am thinking along the right lines though.

Thanks
Chris
 




 4 Posts in Topic:
Keeping a option,select drop down list open on refresh / postbac
crazychrisy54@[EMAIL PROT  2008-05-09 03:20:38 
Re: Keeping a option,select drop down list open on refresh / pos
Laser Lips <loudsphier  2008-05-09 05:23:21 
Re: Keeping a option,select drop down list open on refresh / pos
crazychrisy54@[EMAIL PROT  2008-05-09 05:33:06 
Re: Keeping a option,select drop down list open on refresh / pos
Thomas 'PointedEars' Lahn  2008-05-09 18:19:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 2:09:37 CDT 2008.