表单中包含许多类型的按钮,而使用:button选择器能获取且只能获取“type”属性值为“button”的<input>和<button>这两类普通按钮元素。
简单明了。
简单明了。
2016-02-19
$("#id") id选择器
$("element")元素选择器
$(".class")类选择器
$("element")元素选择器
$(".class")类选择器
2016-02-19
$("#default").html($("#divtest").html());
2016-02-19