Back to Browse

#324 Passing Data to JavaScript

9 views
Sep 12, 2022
6:48

There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. 🔗 LINKS Follow me on YouTube: https://www.youtube.com/c/developersBox?sub_confirmation=1

Download

0 formats

No download links available.

#324 Passing Data to JavaScript | NatokHD