Advertisement

01.22.2007 at 10:34PM PST, ID: 22132662
[x]
Attachment Details

Pop-up to alert users

Asked by poutses in JavaScript, Internet Advertising

I have a web page with an order form. The problem is that some people complete the required units, and then insert of pressing the "Add to Cart" button, they click on other links on my page, or press the back button, and the info is lost (the units entered for each product). Is there a way of displaying a warning message like "You have some units to add to your basket. Please click the Add button", when the user has added some information in my text boxes (all of them are named basket_units_1, basket_units_2, etc when the number at the end is the product_id). This event should be happening only when the user has added some units in my textboxes, and presses anything else other than the Add button. Of course, the event should be cancelled as well

ThanksStart Free Trial
[+][-]01.23.2007 at 12:53AM PST, ID: 18373252

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2007 at 03:32AM PST, ID: 18373950

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.23.2007 at 07:34AM PST, ID: 18375431

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Internet Advertising
Sign Up Now!
Solution Provided By: third
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01.23.2007 at 09:57PM PST, ID: 18383344

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32