How do I select an element with its name attribute in jQuery? [duplicate]

$('[name="ElementNameHere"]').doStuff();

jQuery supports CSS3 style selectors, plus some more.

See more

Leave a Comment