Hey, I\'m working on a web app that has a login dialog that works like this:
This solution worked for me posted by Eric on the codingforums
The reason why it does not prompt it is because the browser needs the page to phyiscally to refresh back to the server. A little trick you can do is to perform two actions with the form. First action is onsubmit have it call your Ajax code. Also have the form target a hidden iframe.
Code:
See if that causes the prompt to appear.
Eric
Posted on http://www.codingforums.com/showthread.php?t=123007