469,306 Members | 1,881 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

Popup Question

This cookie script has a confirm popup that asks if you want your data
saved, it pops when you exit the form, now my question is how can I
eliminate the popup? Thanks Joe
http://web2jo.com/Work/TEMP.html

Jul 23 '05 #1
2 1208
Papajo wrote:
This cookie script has a confirm popup that asks if you want your data
saved, it pops when you exit the form, now my question is how can I
eliminate the popup? Thanks Joe
http://web2jo.com/Work/TEMP.html


If you want to keep the code pretty much intact and store cookies
without prompting, just change

use_cookies = "unsure";

to equal "yes" - thus, make the following change:

use_cookies = "yes";
It sounds like you've borrowed the code from someone else and it makes a
specific check on the variable use_cookies, for the purpose you're asking.

I hope that helps - I'd suggest you pick up some javascript so you can
support the code you use... and... by the by... if the web browser is
set not to use cookies, then it won't store it, regardless what the
user_cookies is set to...

regards
randelld

Jul 23 '05 #2
Thanks for the easy fix, works perfect.
Joe

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by dave yan | last post: by
3 posts views Thread by Steve K | last post: by
12 posts views Thread by HarveyB | last post: by
3 posts views Thread by Dan | last post: by
2 posts views Thread by Kevin Lam | last post: by
7 posts views Thread by E Michael Brandt | last post: by
2 posts views Thread by Joe Molloy | last post: by
20 posts views Thread by ruca | last post: by
4 posts views Thread by vickeybird | last post: by
5 posts views Thread by SQACSharp | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.