Drupal 6. I try to add jquerry effect after pressing button
$(function(){
$('.node-add-to-cart').click(function() {
$(".prod-pic").effect("transfer", { to: $("#block-uc_cart-0") }, 1000);
});
});
But I get error object# has no method 'effect'. I created a custom js file with this code and put a link to the template.php using drupal_add_js. According to status report Jquerry UI 1.6 is installed. However, when inspecting html code, among scripts there is no jquery.ui loaded. Should I call it from my custom js file?