:button
selectorThe jQuery :button
selector is used to select the <button>
tag or type="button"
element.
:button
selector Syntax$(':button')
:button
selector ExamplesIn below example,We will find all button inputs and mark them.
$( ":button" ).parent('div').css( 'border','2px solid orange');