Results 1 to 2 of 2

Thread: javascript question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Connecticut
    Posts
    98
    I know we usually do VB questions here but I have a javascript question that I cant find any help on.

    I have a cookie named "STCookie" and it has a Key named "DBs". The key contains a string of values separated by a ":". What I need to do is have the user enter a value into a textbox and remove it from the key.

    For example, the cookie looks like this:
    STCookie[]DBs=value1:value2:value3:value4:value5

    Now I want to delete "value3"
    So the user enters "value3" into a textbox and hits a submit button. The cookie then should look like:
    STCookie[]DBs=value1:value2:value4:value5

    How would I be able to do this?? The user should have a warning in there, probably a 'window.confirm', but I think I can handle that part.

    Thanks very much for any help!!!!!
    ~Piz

  2. #2
    ines
    Guest
    check out on www.irt.org and go to the Javascript Faq's, there you should find the answer!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width