2
我從這page的教程中瞭解如何使用CKEditor配置Bootstrapvalidator。我複製這些代碼,並考進我的電腦,但是當我運行它,我得到了一個錯誤的錯誤消息是這樣的使用CKEditor配置Bootstrapvalidator
Uncaught ReferenceError: $ is not defined
然後,我建議也許jQuery的鏈接應該是第一個被引用的,所以我修改代碼是這樣
<script src="//cdn.ckeditor.com/4.4.3/basic/adapters/jquery.js"></script>
<script src="//cdn.ckeditor.com/4.4.3/basic/ckeditor.js"></script>
,但我有更多的錯誤
Uncaught ReferenceError: CKEDITOR is not defined
Uncaught ReferenceError: $ is not defined
請幫助我,我怎麼能解決這個問題
謝謝
OK,然後我有新的錯誤 遺漏的類型錯誤: $(...)bootstrapValidator是不是一個HTMLDocument的功能 。 –
您應該需要jQuery的bootstrapValidator庫:https://plugins.jquery.com/bootstrapValidator/ – NetVicious
ok thx很多!你解決了我的問題:) –