filter only http:// using jquery

Posted by Jean on Stack Overflow See other posts from Stack Overflow or by Jean
Published on 2010-03-24T10:02:01Z Indexed on 2010/03/24 10:03 UTC
Read the original article Hit count: 176

Filed under:

Hello,

I have about 400 links, ie., http:// in a div. I want to filter only the links ( http:// )

$("a[href$='']").each(function() {
        $(this).append('#only_http').attr('href');
    });

Thanks Jean

© Stack Overflow or respective owner

Related posts about jQuery