表单中包含许多类型的按钮,而使用:button选择器能获取且只能获取“type”属性值为“button”的<input>和<button>这两类普通按钮元素。
2016-03-04
$("#content").css({background:"red",color:"white"});
2016-03-04
$("li:eq(-3)").css("background-color", "#60F");
2016-03-03