如果遇到如下提示:
Uncaught TypeError: Cannot set property ‘onblur‘ of null
有可能是<script>…</script>放在需要执行的标签前面了,将JS代码放在标签内容后,问题就解决了。
JavaScript的错误提示Uncaught TypeError的一种可能原因和解决方法
原文:https://www.cnblogs.com/johnthegreat/p/12797868.html