原文:[轉]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頁面