I am using jquery to post a form. Works fine on all browsers apart from IE, IE does not seem to be picking up the "prevent default" as the browser is directing to "beta.php". Here is my code
$(document).ready(function(){
$("#betaform").submit(function(e){
event.preventDefault();
$.ajax({
url: "beta.php",
type: "POST",
data: $(this).serialize(),
success: function(data){
content = "<H2>Thank you, data received</H2>";
$("#betaform").empty().append(content);
}
});
});
});