$("#content").css({"background-color":"red","color":"white"}); 同时更改多条属性的时候要加{} 每条属性用逗号(,)隔开属性的设置用(:)
2015-08-06
ype:"post",这句话很重要
$.ajaxSetup({
dataType: "text",
type: "post",
success: function(data){
$.ajaxSetup({
dataType: "text",
type: "post",
success: function(data){
2015-08-06
$(" :checked").attr("disabled", true);其实不加 #frmTest 也是可以的
2015-08-06
自己垃圾还好意思骂人,不想学可以滚蛋,人家没拉你过来让你学,竟然过来学,就要尊重别人的劳动,一个章节就那么点,老师不可能把所有的都说出来,尤其是那些基本的常识性问题
2015-08-06
有很多种写法,比如:$("input[type='text']").addClass("bg_blue");简单写法:$("input").addClass("bg_blue");或者$(":text").addClass("bg_blue");
2015-08-06