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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -