Web Analytics Made Easy -
StatCounter Listbox which remembers user selection - CodingForum

Announcement

Collapse
No announcement yet.

Listbox which remembers user selection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Listbox which remembers user selection

    Hi guys

    I want to create a listbox which is visible throughout my site that remembers the user's location, so if the drop down box contains America, Great Britain and New Zealand, I want America as the default selection but if the user changes this to New Zealand, I want New Zealand to be that user's default setting and New Zealand to be the selected value in the list box throughout the site. Basically, I do not want the listbox to default back to America on subsequent page loads. Is this possible? Any help would be appreciated.

    Many thanks

    EJ

  • #2
    Use a cookie.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

    Comment

    Working...
    X