Tuesday, 15 February 2011

Find <a> with image extension in href (jQuery) -


I need to find (and hide) all the links with images (.jpg, .png, .gif) because they Href

  $ ('A'). Filter (function () {return $ (.) .attr ('href'). Match (/. (Jpg | png | gif) / i);}). Hide ();  

No comments:

Post a Comment