六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 117|回复: 0

My jsp page not support javascript

[复制链接]

升级  2.67%

14

主题

14

主题

14

主题

秀才

Rank: 2

积分
54
 楼主| 发表于 2013-2-7 20:34:02 | 显示全部楼层 |阅读模式
<%@ taglib uri="emed-html" prefix="html"%><%@ taglib uri="emed-logic" prefix="emed" %><%@ page contentType="text/html;charset=utf-8"%><html><head></head><body><script language="JavaScript">  swithSignle = function (id){  alert("vvvvvvvvvvvvvvvvvv");  alert(id);  var obj = document.getElementById(id);      if (obj.style.visibility == "visible"){        obj.style.visibility = "hidden";         obj.style.position = "absolute";    }    else{        obj.style.visibility = "visible";         obj.style.position = "relative";    }  } </script><fmt:bundle basename="resourceBundle"><form name='form_<c:out value="${requestScope.responseId}"/>'><!-- 开始循环 --><table class="portlet-table"><html:define name="output" id="list" property="advicesGroupBean" scope="request" toScope="page" /><emed:forEach items="${list}" var="item" varStatus="ii">       <tr id="GroupTd"><td colspan="2"> <span class="portlet-span">  <b><html:write name="item" property="groupField"/>:</b>       <html:write name="item" property="recordNum"/>条危机 </span>  </td><td class="portlet-table-td-right"><a href=""><span class="portlet-span">More...</span></a></td> </tr><tr> <td colspan="3" align="center"> <a href="#" ><span id="span1" style="FONT-SIZE: 12pt;COLOR: #C0C0C0;">点击查看</span></a><input name='button1' type='button' class='portlet-form-button' value='cccc'  /></td></tr><tr ><td colspan="3"> <div id="news_detail" style="visibility: hidden; position: absolute"><table border="0"><emed:forEach items="${item.detailbean}" var="itemd" varStatus="jj"><tr><td width="120">[<html:hashwrite name="itemd" property="crawl_media_date"/>]</td><td width="100" align="center"><html:hashwrite name="itemd" property="crawl_media_name"/></td><td class="portlet-item"><a href="<html:hashwrite name="itemd" property="crawl_url"/>" title='<html:hashwrite name="itemd" property="crawl_title"/>' ><html:hashwrite name="itemd" property="crawl_title" showMaxLength="30" /></a></td></tr></emed:forEach></table></div></td></tr></emed:forEach></table><!-- 循环结束 --></form></fmt:bundle></body></html>
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表