如何传递这个参数??

lawdoor 2004-03-28 09:37:43
<form name=f method="post" action="act_right.asp">
<input type="text" name="PART_NAME">
<input name="PART_ID" type="hidden" id="PART_ID">
<input type="button" onclick="window.open('edit.asp?PART_ID+document.f.part_id.value+','win','width=400,height=300,state=no,toolbar=no')" value="编辑">
</form>

如何传送这个隐含的参数到edit页面??
...全文
52 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
lawdoor 2004-03-28
  • 打赏
  • 举报
回复
谢谢!揭贴!
51windows 2004-03-28
  • 打赏
  • 举报
回复
<form name=f method="post" action="act_right.asp">
<input type="text" name="PART_NAME">
<input name="PART_ID" type="hidden" id="PART_ID">
<input type="button" onclick="window.open('edit.asp?PART_ID='+document.f.PART_ID.value+'&PART_NAME='+document.f.PART_NAME.value,'win','width=400,height=300,state=no,toolbar=no')" value="编辑">
</form>

上面是个例子,不一定是你需要的,看一下方法,注意大小写!

87,922

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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