I have created a jQuery a pop up form which I intend to load each time a user visits to my site. And then prevent it from loading if he hasn’t left my site yet. How can I tell jQuery to do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You probably need to set a cookie from the server. If the cookie isn’t set, call a jquery method to display the form and set the cookie. if the cookie is set, don’t tell jQuery to display the form.