HTML:Cannot read property ‘value‘ of null的解决
Cannot read property ‘value‘ of null错误提示。
解决把相应出错的提示的JS文件
比如在Django中使用bootstrap中的两个文件:
<script src='{% static "/js/bootstrap.bundle.min.js" %}'></script>
<script src='{% static "js/offcanvas.js"%}'></script>
更新之后,在Chrome内的Console中相应错误提示消失。