js常用功能备忘

js onChange:

<select class="incmidgrlinput"  onChange="gotourl(this.options[this.options.selectedIndex].value)">


js在新页面打开:

window.open(url,"_blank");

在本页面打开:

location.href="";


发布了109 篇原创文章 · 获赞 43 · 访问量 139万+

猜你喜欢

转载自blog.csdn.net/leidengyan/article/details/8453040