苍天啊,我到底哪里做错了阿!谁能救救我 关于数值传递的问题!!!!
<input onclick = "submit_b() " type= "radio " name= "radiobutton " id= "radio_id " value= <%=rstmmmheader( "creno ")& "| "&rst( "linenumber ") %> >
<script >
function submit_b(){
var a=document.getElementsByName( "radiobutton ").length
var b = ' ';
var c = ' ';
for(var i=0;i <a;i++)
{
if(document.getElementsByName( "radiobutton ")[i].checked) {
var ab=document.getElementsByName( "radiobutton ")[i].value.split( "| ");
b=ab[0];
c=ab[1]
}
} top.frames[ 'rbottom1 '].location.href= '3mtrans.asp?creno=escape( '+b&&linenum= '+c);
return ;
}
</script>
后面一个数值rst( "linenumber ")的数值就是传不过去阿
------解决方案-------------------- <%=rstmmmheader( "creno ")& "| "&rst( "linenumber ") %>
用“&”连接对象?你这是啥语言啊?
------解决方案--------------------& 这个似乎是ASP里的东东,咋搞到JSP里来了?
------解决方案--------------------叫苍天也没用