热搜:NVER node 开发 php

从页面到后台的常用请求方式_html/css_WEB-ITnose

2024-11-12 18:35:01
从页面到后台的常用请求方式_html/css_WEB-ITnose

form表单形式:


"${ctx}/post/cusBatch" method="post" name="classForm" id="classForm">

有弹框方式:

	$("#addClass").click(function(){						var diag = new top.Dialog();		diag.Drag=true;		diag.Title ="班组新增";		diag.URL = "${ctx}/businessClass/add";		diag.Width = 490;		diag.Height =300;		diag.CancelEvent = function(){ //关闭事件			diag.close();		};		diag.show();	});

直接请求到后台:

	/**	*查看批次详情	*/	function cusBatchDetail(postBatchno){	var url = "${ctx}/post/cusBatchDetail?postBatchno="+postBatchno;	window.location.href=url;	}