Jump to content

Attribute selector usage


sesackett

Recommended Posts

Is it possible to use an attribute selector find values stored in the style attribute of an element? What I want to do is locate every input element that has the background color of lime, but I can't fingure out the syntax. See example for a pseudo code representation of what I want to do.Example:input[style=background-color:lime]{} /*This doesn't work*/input[style.background-color=lime]{} /*This doesn't work*/Thanks for your helpSteve

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...