homepage Welcome to WebmasterWorld Guest from 54.205.122.62
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
<a> tag
ctoz

5+ Year Member



 
Msg#: 4385424 posted 1:18 am on Nov 10, 2011 (gmt 0)

I've filed, for exploring later, what looks like an html snippet:

a[href^="http://"]

...but Google doesn't recognise the non-alpha characters—so I'm a bit in the dark as to how to search for it.

Can anyone point to a site that explains how it functions?

 

Fotiman

WebmasterWorld Senior Member fotiman us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4385424 posted 1:37 am on Nov 10, 2011 (gmt 0)

[w3.org...]
I'm not sure how it's being used, but it looks like a CSS selector that would match all a element whose "href" attribute value begins exactly with the string "http://"

ctoz

5+ Year Member



 
Msg#: 4385424 posted 1:40 am on Nov 10, 2011 (gmt 0)

Yup, that explains it. I think I can play with it now. Thanks.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved