你明明已经把href传到openwin方法中了,但是你没有接收,把openwin改下function openwin(url) {alert(url); //获取不到href属性window.open (url,"newwindow","height=600,width=800") ;}
你明明已经把href传到openwin方法中了,但是你没有接收,把openwin改下function openwin(url) {alert(url); //获取不到href属性window.open (url,"newwindow","height=600,width=800") ;}