skip to Main Content

Can anybody explain to me why this jquery function does not work?

I made a simple code example to narrow down my issue. If I have this code jQuery.noConflict(); jQuery(document).ready(function($) { var dosomething=function(the_selector){ $('.content', the_selector).each(function() { $(this).css('background-color','red'); }); } dosomething('.flickr_badge_image'); }); it does not work but if i change it to jQuery.noConflict();…

VIEW QUESTION
Back To Top
Search