为元素加上click事件
事件内部:
window.location.href="*****.html"; //当前页打开;
window.open("http://www.csdn.net/"); //新标签页打开
posted on 2017-11-23 17:45 RonnieQin 阅读(179) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 RonnieQin Powered by .NET 9.0 on Kubernetes