jquery form plugin and IE issues

jquery form plugin and IE issues

Hi,
does anyone know why this code works in Chrome and Firefox but not in IE9, IE8 and IE7:


  1. jQuery(document).ready(function($){


  2.     // bind to the change event of the state select in the checkout form
  3.     $('#add_submit').one("click", (function(){

  4.         // display a message indicating that we're updating the tax cost
  5.         $('#cart_total').html( 'Dodajem...' );
  6.         $('#items_in_cart').html( 'Dodajem...' );

  7.         $('#entry_id').val( $("#add_entry_id").val() );
  8.         $('#quantity').val( $("#add_quantity").val() );

  9.         // use the jquery form plugin method ajaxSubmit to send the form
  10.         $('#my_add_to_cart_form').ajaxSubmit({
  11.             success: function(data) {
  12.                 // load the updated tax value back into the page
  13.                 $('#cart_total').load('{path=embedi/cart_total}');
  14.               //$('#items_in_cart').load('{path=embedi/items_in_cart}');
  15.               //$('#header').load('{path=embedi/header}');
  16.                 $('#cart_za_desno').load('{path=embedi/cart_za_desno}');


  17. if ($('#cart_total').is(':hidden')){
  18. $("#cart_total")
  19. .css('top','-61px')
  20. .css('display','block')
  21. .animate({"top": "+=24px"}, "slow");

  22. };


  23.             }

  24.         });
  25.     }));
  26. });
I get no errors. This is for adding items to shopping cart, and in IE it just doesn't add items to cart.

Thanks