142
rated 0 times
[
145]
[
3]
/ answers: 1 / hits: 62634
/ 15 Years ago, thu, april 16, 2009, 12:00:00
Given a section of HTML, can I selectively pick some types of elements (e.g., input) and add a custom attribute using JavaScript? I would also need to remove this attribute if it exists.
I have done this before using jQuery, but I'm unable to use it for this particular task.
More From » javascript