:button Selector in jQuery

It helps to selects all button elements and elements of type button.

:button Selector

// To change all button’s background color to green.

$(document).ready(function(){
    $(“:button”).css(“background-color”,”green”);
});