标签:页面提交请求到后台
form表单形式:
<form action=<span style="color:#FF0000;">"${ctx}/post/cusBatch" </span>method="post" name="classForm" id="classForm">
有弹框方式:
$("#addClass").click(function(){ var diag = new top.Dialog(); diag.Drag=true; diag.Title ="班组新增"; <span style="color:#FF0000;">diag.URL = "${ctx}/businessClass/add"</span>; diag.Width = 490; diag.Height =300; diag.CancelEvent = function(){ //关闭事件 diag.close(); }; diag.show(); });
/** *查看批次详情 */ function cusBatchDetail(postBatchno){ <span style="color:#FF0000;">var url = "${ctx}/post/cusBatchDetail?postBatchno="+postBatchno; window.location.href=url</span>; }
标签:页面提交请求到后台
原文地址:http://blog.csdn.net/yang_best/article/details/43985591