I am having a problem with the prompt message being blocked by popup blockers. (I think) I have the following javascript code on my page and some customers are having a problem with the prompt message. They get the confirm message and answer yes and then it immedietly puts up the message "Approval Process cancelled". Other customers are fine. I figure this is due to popup blockers on thier box. This is what I have tried and nothing seems to fix it on this box. 1. Enable popups on the page. 2. Clear temp files and cookies 3. Hold Ctrl key when doing the approval 4. Allow the web site under the pop-up blocker in the internet tools. (In the privacy setting tab) Nothing seems to work. They can go to another machine and it allows them to approve but I need to find out what is stopping it on this machine. The asp page calls a javascript function that contains the following codewhen a button is clicked. if (confirm("Are you sure you wish to APPROVE this property?") == false) { return; } var answer = prompt("Please enter your First Name, Last Name and Title.",""); if (answer == null) { // cancel alert("Approval Process cancelled"); return; } I would appreciate any help --------------------------------------------------------------------------------
I haven't had alerts cancelled by popup blockers yet. Have you considered testing across platforms? I try to get Javascripts tested on Firefox, IE6, IE7, Firefox Mac, and Safari.
Sorry, I should have stated this. Under testing it works on IE 6, IE 7, and firefox. This problem is only happing on a few machines not all of them
Find one machine that works with IE 6, and another machine that doesn't work in IE 6. Compare them and see what the difference is. Compare what IE toolbars they each have.
Yes, that is the problem. We can not create it locally. I am trying to find a common path, this has happened on a windows 2000 and xp machine. ones with IE 6 and 7 and even Firefox. I finally have a customer that has 2 machines both with XP and IE 6 sp2. One works one doesn't. They are in another state so I can not physically look at the machine. Trying to figure out what to ask? It is a crap shoot. thanks
Can you walk them thru to let you do remote desktop to the 2 machines? Trying to solve it over the phone is going to be next to impossible.