引用
1.为什么我的<html:form 不响应JAVASCRIPT Copy to clipboard Posted by: chestin Posted on: 2004-05-17 13:00 在页面中: <html:form action="/impOpenTypeEdit" target="_self" onsubmit="return remove(this);"> <input type="hidden" name="method" value="remove"> <logic:iterate id="openType" name="dtos" > <tr width="70%"> <td width="20%"><input type="checkbox" name="id" value="<bean:write name="openType" property="id"/>" onClick="javascript:showInfo();"><bean:write name="openType" property="id"/> </td> <td width="30%"><bean:write name="openType" property="typeNo"/> </td> <td width="50%"><bean:write name="openType" property="manageType"/></td> </tr> </logic:iterate> <tr> <td colspan="3"> <input type="submit" name="remove" value="删除开证形式" ></td> </tr> </html:form> 数据显示完整,但是JAVASCRIPT好像没有被调用 -------------------------------------------------------------------------------- 2.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: glistar Posted on: 2004-05-17 16:42 你是指 remove 方法吗? remove 方法和属性remove名称相同! 编译器首先检测属性,所以方法不执行! -------------------------------------------------------------------------------- 3.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: yushuhui Posted on: 2004-05-22 11:35 限执行action操作,不执行Javascript代码,我也碰到这个问题。 -------------------------------------------------------------------------------- 4.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: jigsaw Posted on: 2004-06-07 13:29 给button加onclick() -------------------------------------------------------------------------------- 5.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: sunzisun Posted on: 2004-06-29 21:24 struts-config.xml中 <action-mappings> <action path="/impOpenTypeEdit" validate="true"/> </action-mappings> -------------------------------------------------------------------------------- 6.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: icemen Posted on: 2004-07-25 03:51 不明白一楼的意思? -------------------------------------------------------------------------------- 7.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: dust_fox Posted on: 2004-08-03 15:39 shi a -------------------------------------------------------------------------------- 8.Re:为什么我的<html:form 不响应JAVASCRIPT [Re: chestin] Copy to clipboard Posted by: floater Posted on: 2004-08-03 22:12 I bet it's a javascript error.
|