Just to be pedantic, Karl you missed an equals sign :)

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

Rik


2008/11/20 Karl Swedberg <[EMAIL PROTECTED]>:
> 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
>
>



-- 
Rik Lomas
http://rikrikrik.com

Reply via email to