Well, we all know how to select a single element in jQuery. $(document).ready(function(){ $("p").css('color','#FF0000'); }); But what if you come across a situation where you needs to apply some common functionality to multiple element. For example, you have couple of P tags, h1 tags and input boxes. You want to set their color to Red. […]
Comments Off on How to select multiple elements in jQuery