471,578 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,578 software developers and data experts.

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 1261
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 XIAOLAOHU | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.