How can I add an attribute into specific HTML tags in jQuery?

For example, like this simple HTML:

<input id="someid" />

Then adding an attribute disabled=”true” like this:

<input id="someid" disabled="true" />

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *