页面报错:doAction is not defined
why13568080881
2009-11-05
设置action后,在页面点击节点名,报错:
doAction is not defined javascript:doAction('../tree/acquire-action.do') 页面: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Tree</title> <link href="../css/security/main.css" rel="stylesheet" type="text/css" /> <script src="../js/mootools-1.2.0.js" type="text/javascript"></script> </head> <body> <%=request.getAttribute("treeScript") %> </body> </html> |
|
huangyh
2009-11-16
你没有定义doActin js函数
需要定义这种形式的函数 function doAction(pUrl){ } |