| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Find something by Attribute with JQuery|
| 9:06 pm on Jul 20, 2011 (gmt 0)|
I have a button that does not have a unique class or id but it does have value="Download". I can't edit this button.
How would I use JQuery to find this button then edit the css?
Any help would be greatly appreciated!
| 11:08 pm on Jul 20, 2011 (gmt 0)|
| 5:01 pm on Jul 21, 2011 (gmt 0)|
Or . . . if that value may change, descendant selection. If there are any parent elements with ID's or other handles,
<input type="submit" value="Download Now">
Use :button if it's a button. Which it shouldn't be, I'd think.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved