saving checkbox states on a page?

Discussion in 'HTML' started by Kourosh, Jun 2, 2006.

  1. Kourosh

    Kourosh Guest

    Is there a nice/easy way to save the state of a whole bunch of
    checkboxes on an html page? I'm looping through all and saving them in
    a cookie, and then read the cookie on a page load and set the checkbox
    values accordingly. Just wondering if there is a better way....

    this is done locally. the html file is not on a server.
    just want ideas....
    Kourosh, Jun 2, 2006
    1. Advertisements

  2. Without a server Cookie with JavaScript is really about it. Fudging with
    the query string very kludgey and error prone
    Jonathan N. Little, Jun 2, 2006
    1. Advertisements

  3. Kourosh

    Kourosh Guest

    alright thanks for the advice :)
    Kourosh, Jun 2, 2006
  4. I have some pages where I saved CB settings in a cookie. The idea was
    to save settings from multiple pages and then create an e-mail listing
    all the selected products.

    Check <> if interested.
    Steven Saunderson, Jun 3, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.