I am using JQuery to submit contact forms and ratings to my server from the user. My server responses with xml that is processed by the subspacecomm function, which I have not posted. The script I did include works, but in IE6 (which accounted for 19% of my hits this month) it simply just is silent after clicking the button.
The behavior should be User Click > Form Serialize > Post to URL > Receive Data > Parse with Function > Modify HTML with Response. IE seems to execute all events except for the parsing. Is there a solution to this? I am receiving the data just fine (server side), but I would like to alert the user that we received the data.
I would be willing to accept a method that checked for the div named message that is created in the parsing function.
It (the script as is) works in Firefox, but I have not tested it in Opera, Safari, or IE 7/8.
// hide button
// submit attached form
var submission = $("form").serialize() + "&jsubmit=true";
// acquire the url to submit to
var url = $("input#url").val();
// submit form using ajax and expect an xml response