jQuery noob: transfer not transferring..

Posted by Kyle Sevenoaks on Stack Overflow See other posts from Stack Overflow or by Kyle Sevenoaks
Published on 2010-06-15T12:33:55Z Indexed on 2010/06/15 12:42 UTC
Read the original article Hit count: 204

Filed under:
|

I made an example, I copied it straight from the jQuery website yet, it doesn't transfer..

HTML:

   <div class="addToCart">
     BLAHHHH
     </div>
     <br>
     <br>
     <br>
     <br>
     <div class="handelv">
     MORE BLAAAHH
     </div>?

jQuery:

 $(document).ready(function() {

$(".addToCart").click(function () {
      var i = 1 - $(".addToCart").index(this);
      $(this).effect("transfer", { to: $(".handelv").eq(i) }, 1000);
});

  });?

What have I gotten wrong?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html