By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,776 Members | 1,397 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,776 IT Pros & Developers. It's quick & easy.

Popup Question

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
Thanks for the easy fix, works perfect.
Joe

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.