jQuery(document).ready(function(){
jQuery('#frmSS1').submit(function(){
debugger;
jQuery.post(
jQuery('#frmSS1').attr('action'),
{
email : jQuery('#frmSS1 .email-input').val(),
format : jQuery('#frmSS1 .format-input').val(),
captcha : jQuery('#frmSS1 .captcha-input').val(),
submit : 'Complete Subscription Request'
},
function(response){
alert(response);
},
'html'
);
return false;
});
});
jQuery.post() returns XmlHTTPRequest object. Status property is 0 under firefox and DomException object with code 11 under chrome. I tried to get all params not in post function - they are fine. I just jave no idea, why does it raises this exception.