关于a href="javascript:....."
有一网页A有一个超连接是这样的
<a href="javascript:window.open('Ding_done.asp','Ding','width=450.height=280')">订构查询</a>
当打开了ding_done.asp后,网页A消失了,变成另外一个网页,上面写着[object],请问怎样解决这个问题呢?
问题点数:20、回复次数:2Top
1 楼mrshelly(Shelly)回复于 2006-06-01 15:53:37 得分 18
javascript:window.open('Ding_done.asp','Ding','width=450.height=280');void(0);">
javascript:window.open('Ding_done.asp','Ding','width=450.height=280');return false;">Top
2 楼ilvs(【天使ηò哭】http://www.mgschina.com 第一次全面应用xhtml+CSS)回复于 2006-06-02 15:22:08 得分 2
<a href="#" onclick="javascript:window.open('Ding_done.asp','Ding','width=450.height=280')">Web docume</a>
你那是在url执行javascript,这个是在页面上执行js..Top




