| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|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.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved