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
Post a Comment