Wednesday, 18 September 2013

jquery works in chrome console not in page

jquery works in chrome console not in page

I have a simple jquery function that removes the first class. The problem
is that it wont work when I use the script in the website, but it works
fine when running the script inside the console(chrome)
Any ideas?
$(document).ready(function() {
jQuery('.instagram-placeholder:first').hide();
});
http://akvesterberg.se/

No comments:

Post a Comment