/ Published in: JavaScript
URL: http://docs.jquery.com/Attributes/attr
Ability to change/add attributes to HTML using JQuery
Expand |
Embed | Plain Text
$("input.search-input").attr("value", "Search TechRelish");
You need to login to post a comment.
