turbolinks-compatibility icon indicating copy to clipboard operation
turbolinks-compatibility copied to clipboard

Loading Javascripts Problem

Open pavankumarimmanni opened this issue 8 years ago • 1 comments

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

pavankumarimmanni avatar Jun 18 '16 12:06 pavankumarimmanni

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

borisrorsvort avatar Mar 08 '17 09:03 borisrorsvort