I'm using the tipTip jQuery tooltip plugin but in IE I keep getting the "Object doesn't support this property or method" on the following line:
$(function(){
$(".scrolltotop").tipTip({defaultPosition: 'top'});
});
jQuery and the plugin are being loaded before I call the function so a non-existing function can't be the cause.
Could anybody help me to figure this out?
EDIT
jQuery is being loaded only once. I've collected all the JavaScript functions into a separate file. In fact those codes should not affect each other. However there's another function which is being triggered on clicking on the same element:
$(function() {
$(".scrolltotop").click(function(){
$('html, body').animate({ scrollTop: 0 }, 'slow');
});
});
Could this be the problem?
Thanks.