|
Prototype Ajax Problem
I am using the latest prototype 6.0.2.
I have a simple page which pulls up a popup Div loading by ajax.updater
It works fine in Firefox but not in IE. The page that is to popup has a <form> in it. When I take out the <form>, it loads fine in IE.
here is the page simplified...
<body>
<form id="frmEmail" >
<div>
<div>Your Name:</div>
<div> <input type="text" id="txtName" style="" /></div>
<div>Your Email:</div>
<div><input type="text" id="txtEmail" style="" /> </div>
<div>Please type in your friends' email addresses: </div>
<div> <input type="text" id="txtFriendEmail1" style="" /></div>
<div> <input type="text" id="txtFriendEmail2" style="" /></div>
<div> <input type="text" id="txtFriendEmail3" style="" /></div>
<div>Add a custom message: </div>
<div> <textarea name="message" cols="30" rows="4" id="message"></textarea></div>
<div><input type="button" value="Send" /> </div>
</div>
</form>
</body>
here is the script code:
function getHTML(divID, url)
{
var myAjax = new Ajax.Updater(divID, url, {method: 'get', evalScripts: true});
}
Any ideas .. I tried googling but havent ran into anyone having a similar problem
|