Common request methods from the page to the backend_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:48:56
Original
1468 people have browsed it

Form form:

<form action=<span style="color:#FF0000;">"${ctx}/post/cusBatch" </span>method="post"  name="classForm" id="classForm">
Copy after login


With pop-up box:

	$("#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();	});
Copy after login

Direct request to the background:

	/**	*查看批次详情	*/	function cusBatchDetail(postBatchno){	<span style="color:#FF0000;">var url = "${ctx}/post/cusBatchDetail?postBatchno="+postBatchno;	window.location.href=url</span>;	}
Copy after login



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template