View Full Version : jQuery: IE error only: Object doesn't support this property or method..

11-22-2010, 10:31 PM
So this works in everything but IE, if you click the orange quote buttons a form shows. In any other browser it returns a thank you result, in IE it doesnt return the result but it still sends the email.


here is the jquery, see any problems IE might have with it?

on a side note, it works in IE on the front page but not any other.

$(document).ready(function () {
$("#ajax-contact-form").submit(function () {
var str = $(this).serialize();
type: "POST",
url: "/maint_contact_reg.php",
data: str,
success: function (msg) {
$("#note").ajaxComplete(function (event, request, settings) {
if (msg == 'OK')
result = '<div class="notification_ok">Your message has been sent. Thank you!</div>';
else {
result = msg;
return false;

11-23-2010, 09:33 AM
The likeliest candidate seems ajaxComplete, although I don't know why that would cause IE a problem. IE7 reports an error at line 105181862, implausibly....

11-24-2010, 11:57 PM
i fixed it, i have conflicting vars with the current ecom system im using.