ruby on rails - Using the jquery cookies plugin -



ruby on rails - Using the jquery cookies plugin -

how require in html?

the doc says use

<script src="/path/to/jquery.cookie.js"></script>

but need set "path" , 'to'. can't figure out need here. hope can help! thanks!

with ror: must set file jquery.cookie.js in folder vendor/assets/javascripts/, @ file app/assets/javascripts/application.js must called with:

//= require jquery.cookie

before

//= require_tree .

or other require needs jquery.cookie

you don't need script tag.

jquery ruby-on-rails cookies modal-dialog

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -