以下为源码:
一、
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript">
function userDeleteOrActive(id,disabled) {
if(confirm("您确定要删除或激活这个宿管吗?")) {
window.location="dormManager.action?action=deleteOrAcive&id="+id+"&disabled="+disabled;
}
}
//文档加载完后
window.οnlοad=function(){
//获取后台保存的当前要修改的foodTypeId值
var searchType = "${searchType}";
//获取菜系