norn最强不良女体化:一个表单的返回值控制显示的问题

来源:百度文库 编辑:中科新闻网 时间:2024/05/05 02:19:11
我用了两个单选来控制
修改车源信息<INPUT type=radio value=1 name=message <%if trim(request.form("message"))="" or trim(request.form("message"))="1" then response.write("checked")%> onclick=showadv()>
<INPUT type=radio value=2 name=message <%if trim(request.form("message"))="2" then response.write("checked")%> onclick=showadv()>修改货源信息

下面的隐藏显示部分的控制是由showadv()实现的
<SCRIPT LANGUAGE="JavaScript">
<!--
function showadv(){
if (document.all.message[0].checked) {
this.car1.style.display = "";
this.car2.style.display = "";
this.car3.style.display = "";
this.good1.style.display = "none";
this.good2.style.display = "none";
this.good3.style.display = "none";

}else{
this.car1.style.display = "none";
this.car2.style.display = "none";
this.car3.style.display = "none";
this.good1.style.display = "";
this.good2.style.display = "";
this.good3.style.display = "";
}
}

//-->
</SCRIPT>

现在的问题是,隐藏的那部分是有检索表单的
在它显示的时候(也就是控制到它显示时),提交检索之后,页面是跳到原来的那个上面去了,它重新变成了隐藏,而我想要的是让它显示,另一个隐藏,怎么用javascript怎么写呢
那两个单选的用request.form("message"))搞好了,下面的不知道怎么搞呢,知道的高手告诉我下啊,具体怎么写