100分求救,再次SOS,烦请知者告之!

zhyindividual 2004-04-29 04:48:37
"<select name='page' size='1' onchange=""JavaScript:window.location='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class=session("LinkType");"">"
请问正确的语法为什么?
谢谢:)
managemsg.asp文件是用来管理留言的,我想传递两个参数给它,一个是页号,一个是类型,但以上的代码总是提示语法错误,不能调试通过,还请知者给出正确语句,
感激不尽!!!!!(要调试通过的代码)
...全文
59 11 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhyindividual 2004-05-06
  • 打赏
  • 举报
回复
感谢大家的回复:),我会尽快地给份:)
ttkkyy 2004-04-29
  • 打赏
  • 举报
回复
function yn(obj)
{
window.location.href='managemsg.asp?page='+obj.options[obj.selectedIndex].value+'&Class='+'<%=session("LinkType")%>'
}

</script>
ttkkyy 2004-04-29
  • 打赏
  • 举报
回复
"<select name=page size=1 onchange=""yn(this);"">"
<script language=jscript>
function yn()
{
window.location.href='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class='+'<%=session("LinkType")%>'
}

</script>
liuyangxuan 2004-04-29
  • 打赏
  • 举报
回复
没有取得详细SESSION值!
aspnetxp 2004-04-29
  • 打赏
  • 举报
回复
"<select name='page' size='1' onchange=""JavaScript:window.location='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class="&session("LinkType")&";"">"
chendongqiang 2004-04-29
  • 打赏
  • 举报
回复
"<select name=page size=1 onchange="JavaScript:window.location='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class='<%=session("LinkType")%>;>"

whghwujx 2004-04-29
  • 打赏
  • 举报
回复
用一楼的吧
aspczlover 2004-04-29
  • 打赏
  • 举报
回复
"<select name='page' size='1' onchange=""JavaScript:window.location='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class="&<%=session("LinkType")%>&";"">"
wellcomer 2004-04-29
  • 打赏
  • 举报
回复
你在脚本里引用session,当然出错啦。
postfix2 2004-04-29
  • 打赏
  • 举报
回复
"<select name=page size=1 onchange="JavaScript:window.location='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class='+<%=session("LinkType")%>;>"
vjlin 2004-04-29
  • 打赏
  • 举报
回复
"<select name='page' size='1' onchange=""JavaScript:window.location='managemsg.asp?page='+this.options[this.selectedIndex].value+'&Class="&session("LinkType")&";"">"

28,409

社区成员

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

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