如图报了not defined 的错误
我的错误写法
<button onclick="a()"> </button>
js中 function a(){}
正确写法
js中
a=function(){}