onchange="display_type(this)"
function display_type(object){
if(object.options(object.options.selectedIndex).text=="000")
document.all.displayother.style.display="";
}else{
document.all.displayother.style.display="none";
}
function display_type(object){
if(object.options(object.options.selectedIndex).text=="000")
document.all.displayother.style.display="";
}else{
document.all.displayother.style.display="none";
}
解决方案 »
- 在jsp页面中用 jfreechart 出现乱码问题
- jsp里怎么取网站根目录?
- 程序如何发布到服务器
- 新手求助:给商品打分
- 在struts2.0中运用Ajax的问题
- 数据库参数传递问题
- javabean连接池初始化问题
- 编译时出现:"post.jsp": Error #: 450 : duplicate definition of variable isGuest in method _jspService(javax.servlet.http.HttpServ
- 应届毕业生找工作!
- 请问谁能告诉我jsp链接mssql问题
- 一个Struts和HashMap的问题!!郁闷Ing
- 怎样分割字符串?
是这样吧。
<html:select property="copyRightTypeCode" onchange="display_type(this)">
<html:optionsCollection
name="copyRightType"
label="copyRightTypeName"
value="copyRightTypeCode"/>
</html:select>