向网上的朋友求救!!!! 关于页面参数传递问题????

yqlit 2008-02-14 04:28:45
今天下午在搞一个网页参数传递的问题,但始终没有结果。只好问网上的朋友发出求救

是这样的,我的网页上有两个单选按钮,当我点击其中一个按钮的时候,要将五个参数传
递到另一个页面,请各位朋友指教一下。QQ 734209117
...全文
88 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
行间 2008-02-14
  • 打赏
  • 举报
回复
再多粘点
  • 打赏
  • 举报
回复

没注意到啊
<input type="radio" name="rad1" value="APU1" onClick='document.location.href="BlackList_22.asp?userid=' <%=userid%> '&ListType=' <%=types%> '&starttime=' <%=starttime%> '&endtime=' <%=endtime%> '&type_ss='<%=type_ss%>' "'>
yqlit 2008-02-14
  • 打赏
  • 举报
回复
<tr align="center">
<td colspan="2" bgcolor="#FFCC99">[排序方式:]</td>
<td colspan="6" bgcolor="#FFCC99">
<input type="radio" name="rad1" value="APU1" onClick="document.location.href='BlackList_22.asp?userid='<%=userid%>'&ListType='<%=types%>'&starttime='<%=starttime%>'&endtime='<%=endtime%>'&type_ss='<%=type_ss%>">
场数  
<input type="radio" name="rad1" value="APU2" onClick="document.location.href='BlackList_11.asp?GamesID='+this.value">
总金额
 
<input type="radio" name="rad1" value="APU3">
时间 
</td>
</tr>
  • 打赏
  • 举报
回复
你吧全部代码贴出来吧
yqlit 2008-02-14
  • 打赏
  • 举报
回复


谢谢 谢谢回复 我写好了,调式时点击单选按钮 没有反映??
  • 打赏
  • 举报
回复
<input type="radio" name="rad1" value="APU1" onClick="document.location.href='BlackList_22.asp?userid=' <%=this.userid%> '&ListType=' <%=types%> '&starttime=' <%=starttime%> '&endtime=' <%=endtime%> '&type_ss=' <%=type_ss%> '">

汗!粗心了,上面那个错了!
  • 打赏
  • 举报
回复
写法不对!!吧是ASP的?
<input type="radio" name="rad1" value="APU1" onClick="document.location.href='BlackList_22.asp?userid='<%=this.userid%>'&ListType='<%+ types%>'&starttime='<%starttime%>'&endtime='<%endtime %>'&type_ss='<%type_ss%>'">
yqlit 2008-02-14
  • 打赏
  • 举报
回复
代码:
<input type="radio" name="rad1" value="APU1" onClick="document.location.href='BlackList_22.asp?userid='+ this.userid + 'ListType=' + types + 'starttime=' + starttime + 'endtime='+ endtime +'type_ss='+ type_ss">
场数  
<input type="radio" name="rad1" value="APU2"> 总金额 




谢谢回复
sy_binbin 2008-02-14
  • 打赏
  • 举报
回复
可以放在form的action里

<form id="form1" name="form1" method="post" action="b.asp?a1=1&a2=2&a3=3&a4=4&a5=5">


也可以设置成隐藏域里
mataofq 2008-02-14
  • 打赏
  • 举报
回复
写个客户端脚本试试。
绑定一个select或者click事件,用变量传递参数
yangtzeu 2008-02-14
  • 打赏
  • 举报
回复
贴出你的提交前的源码
yqlit 2008-02-14
  • 打赏
  • 举报
回复


不是链接啊,而是一个单选按钮
sy_binbin 2008-02-14
  • 打赏
  • 举报
回复
<a href="b.asp?a1=1&a2=2&a3=3&a4=4&a5=5">链接</a>


a1,a2,a3,a4,a5就是5个参数

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧