button selector
Description: Selects all button elements and elements of type button.
version added: 1.0jQuery( ":button" )
An equivalent selector to $( ":button" )
using valid CSS is $( "button, input[type='button']" )
.
Additional Notes:
- Because
:button
is a jQuery extension and not part of the CSS specification, queries using:button
cannot take advantage of the performance boost provided by the native