Return to Snippet

Revision: 23995
at February 18, 2010 07:48 by jaff


Initial Code
$(document).ready(function(){
    if ($(".target").length) {
	//function code
	}
});

Initial URL

                                

Initial Description

                                

Initial Title
limit the use of a function in jQuery by targeting a class or id

Initial Tags
javascript, jquery

Initial Language
JavaScript