js如何传递参数

[复制链接]
查看11 | 回复4 | 2018-5-12 21:04:00 | 显示全部楼层 |阅读模式
html注册事件向引用方法中的传参问题,两个方式:


<input type="text" ...
回复

使用道具 举报

千问 | 2018-5-12 21:04:00 | 显示全部楼层
你是要往那里传递...
回复

使用道具 举报

千问 | 2018-5-12 21:04:00 | 显示全部楼层
onClick="javascript:modnews(71)function modnews(id)Article_mod.asp?id="+id+""这么简单...
回复

使用道具 举报

千问 | 2018-5-12 21:04:00 | 显示全部楼层
你要改那个modnews function modnews(id) { window.showModalDialog("Article_mod.asp?id=" + id,"修改文章","dialogWidth:790px;dialogHeight:580px;scroll:yes;status:no;help:no"); }...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行