var $html = $("<span class='red'>小青蛙</span>")
$html.appendTo("div");
$html.appendTo("div");
2014-12-12
var $redHTML = $(".red").html();
$(".green").html($redHTML);
$(".green").html($redHTML);
2014-12-12
两种方法: $("#btntest").attr("disabled","true"); 或者 $("button").attr("disabled","true")
2014-12-12
$(function () {
$("#btntest").bind("click mouseout",function(){
$(this).attr("disabled","true")
} )
});
$("#btntest").bind("click mouseout",function(){
$(this).attr("disabled","true")
} )
});
2014-12-12
{num:$("#txtNumber").val()},和{num:$("#txtNumber").val()
},不等?????
},不等?????
2014-12-11