/ Published in: JavaScript
Ability to change/add attributes to HTML using JQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("input.search-input").attr("value", "Search TechRelish");
URL: http://docs.jquery.com/Attributes/attr