0

Only Internet Explorer is not working (I happen to be using version 8, but 7 and 9 are not working either). I have this code in my application.js file:

$(".attrs").live('click',function() {
    $("#product_application_" + $("#product_application_page_attribute").val()).val($(this).text());
    hash = { type: "POST", url: "brands/get_attributes", data: $("#attributeform").serialize() };
    $.bbq.pushState(hash);
    return false;
});

IE does NOTHING when I click on the elements that this event is bound to. What have I done?

AKWF
  • 11,646
  • 12
  • 84
  • 180

1 Answers1

1

It might be due to the fact that pushState is not supported by IE8. More details here.

Community
  • 1
  • 1
jipiboily
  • 1,230
  • 10
  • 17
  • That was definitely it. I had to put an explicit post in there. But now every other browser posts twice. I have to find a way to detect the browser. – AKWF Jan 27 '12 at 05:23