| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Directly add an attribute as an element property|
| 2:02 pm on Feb 14, 2014 (gmt 0)|
Here's how I change the value of an existing attribute:
element.attribute = "value"
But is it OK to use the above method to create a new attribute?
| 3:21 pm on Feb 14, 2014 (gmt 0)|
| 5:03 pm on Feb 14, 2014 (gmt 0)|
Thanks for the confirmation! :)
Just wanted to make sure.
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