View Single Post
Old 01-25-2011, 02:44 PM   PM User | #3
newbielives
New to the CF scene

 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
newbielives is an unknown quantity at this point
THANK YOU this solution worked beautifully for me
Quote:
Originally Posted by A1ien51 View Post
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:
<iframe src="ablankpage.htm" id="temp" name="temp" style="display:none"></iframe>
<form target="temp" onsubmit="yourAjaxCall();">
See if that causes the prompt to appear.

Eric
newbielives is offline   Reply With Quote