Why does jQuery-Lint tell me .css() isn't a function?

99 Views Asked by At

jQuery-Lint is throwing the following error for me:

$(".around_divboxes").css is not a function
   $('.around_divboxes').css('marginLeft', '0px'); 

Can someone tell me why it throws this error, and how to solve it?

1

There are 1 best solutions below

1
On BEST ANSWER

I have seen this when the jquery core js has not been loaded. Make sure the jquery.js is loading on the page.