$('input[type]').css('background','pink') This is to change an attribute, if you want to add width and height. How to write it?
清浅2018-11-21 09:31:35
You can use the attr attribute in jQuery to change multiple style values
$("input[type]").attr({width:"100px",height:"100px",background:"pink"});