//双击事件
"tr_click(event);"
function tr_click(e) {
if(e.target.cellIndex!=0){
alert("不是第一个td");
}
}
//jQ跳转,
window.location.href = webContext + "/user/addSales.do";
//新打开一个页面
window.open(webContext + "/ladingBillSell/ladingBillSell.do?pk_items=" + pk_item_list);
//延迟两秒加载
setTimeout('window.location.href = webContext + "/sdraw/drawingBinding.do"',2000);
//控制自动填充
autocomplete="no"
//JSP重新打开一个页面
target="_blank"
//等页面刷新之后,再出初始化按钮
$(document).delegate("#saveWithDraw","click",function(){}
//弹出框显示
$("#pop_error").modal("show");
//弹出框消失
$("#pop_error").modal("hide");
//获取checkbox选中的参数
$("#long_certificate_type").is(':checked');
//当每次用jQuery添加新的行数,需要重新定义点击实现,所以需要先消除点击事件,再声明,就不会重复提交。
$("[name='add_tr']").unbind('click').bind("click", function () {}
$this.parents(".formControls").find(".Validform_checktip").removeClass("Validform_right").removeClass("Validform_wrong").text("请输入开户银行名称!");
jQuery.isEmptyObject(data) //对象为空,返回true
jQuery.isEmptyObject({}) //对象为空,返回true
jQuery.isEmptyObject({test:"test"}) //返回false
$("button").click(function(){
$("input").trigger("select");
});
//trigger() 方法触发被选元素的指定事件类型。
常用jQuery
最新推荐文章于 2024-06-26 08:15:00 发布