官网
https://www.w3school.com.cn/js/js_summary.asp
基础开始
1.https://blog.csdn.net/u010281209/article/details/53522316
2.https://blog.csdn.net/u010281209/article/details/53522318?spm=1001.2014.3001.5501
3.https://blog.csdn.net/u010281209/article/details/53522319?spm=1001.2014.3001.5501
4.https://blog.csdn.net/u010281209/article/details/53522320?spm=1001.2014.3001.5501
5.https://blog.csdn.net/u010281209/article/details/53522321?spm=1001.2014.3001.5501
6.https://blog.csdn.net/u010281209/article/details/53522322?spm=1001.2014.3001.5501
这里操作事件的固定写法
//动态注册事件
window.onloads = function (){ //获取标签对象 var on = document.getElementById("name"); //通过标签对象.事件名 on.onclick = function (){ alert("哈哈哈哈") } }
7.https://blog.csdn.net/u010281209/article/details/53522324?spm=1001.2014.3001.5501