Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
jQuery

ID Selectors in jQuery

Select a unique element with $("#id").

ID Selectors in jQuery — a practical guide to jQuery ID selectors with clear examples you can reuse in real projects.

jQuery Tutorial Series (13/101). Prefer one article? Read the complete jQuery tutorial.

Short description

IDs should be unique in the document — prefer classes for repeated UI.

ID selector

$('#submitBtn').prop('disabled', true);

Leave a reply

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