reed / turbolinks-compatibility

A collection of tutorials for how to get your favorite javascript libraries, plugins, and snippets working with Turbolinks.
reed.github.io/turbolinks-compatibility
MIT License
147 stars 35 forks source link

Loading Javascripts Problem #69

Open pavankumarimmanni opened 8 years ago

pavankumarimmanni commented 8 years ago

I have an rails application page with new & edit functionality on the same page. That includes radion buttons and check boxes. When redirecting to that page the javascripts files are not loading automatically instead it is expecting reload of javascripts to load the functionality for edit action.

Please resolve this issue.

Thanks in Advance

borisrorsvort commented 7 years ago

It seems that your js is not bound to the right events. To help you further, please provide some code and the version of turbolinks you are using.

It might help you to read a bit the doc regarding event initialization here: https://github.com/turbolinks/turbolinks#running-javascript-when-a-page-loads