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.
[CODE=javascript]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;
}
[/CODE]
I would appreciate any help
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.
[CODE=javascript]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;
}
[/CODE]
I would appreciate any help
Comment