原文:[转]html页面调用js文件里的函数报错onclick is not defined处理方法

原文地址:http: blog.csdn.net ywl article details 今天处理html标签里的onclick功能的时候总是报错:Uncaught ReferenceError: dosave is not defined 找了半天都没发现错在哪,最后发现原来是我写法不对,正确写法如下: html: html view plaincopy lt inputtype button ...

2017-08-25 16:17 2 3716 推荐指数:

查看详情

函数直接写在html页面