Sure you can do that:

$('a[href^mailto:]')



--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Nov 20, 2008, at 2:18 PM, shapper wrote:


Hello,

Can I select all anchors which link is an email address?

For example:
<a href="mailto:[EMAIL PROTECTED]>bla</a>

Is there a way to do this without adding a class to the anchor?

Thanks,
Miguel

Reply via email to