jQuery noob: transfer not transferring..
- by Kyle Sevenoaks
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?