Whenever I attempt to submit a form using the jQuery Form plugin (http://jquery.malsup.com/form/) and set contentType: script
, I encounter an issue where Internet Explorer displays a "Save as" pop-up prompting me to save the response script.
Here is an example of the code:
$("#vendor_edit").ajaxForm({dataType: "script"});
The response contains JavaScript that runs successfully on all other browsers, but IE is triggering a pop-up asking to save the file as "vendors.js". Any suggestions on why this behavior might be occurring?