Using JSON in data attributes with JS |
Another possible way that I used in the past is using base_64 encoded strings, they could be put as attributes directly. But this is a complication that I don't like, the JavaScript should decode from base_64 first and then to decode the JSON string.
|
Messages In This Thread |
Using JSON in data attributes with JS - by skunkbad - 11-14-2017, 02:16 PM
RE: Using JSON in data attributes with JS - by ivantcholakov - 11-14-2017, 05:34 PM
RE: Using JSON in data attributes with JS - by skunkbad - 11-14-2017, 10:24 PM
RE: Using JSON in data attributes with JS - by ivantcholakov - 11-14-2017, 10:48 PM
RE: Using JSON in data attributes with JS - by skunkbad - 11-15-2017, 12:43 AM
RE: Using JSON in data attributes with JS - by ivantcholakov - 11-15-2017, 07:33 AM
RE: Using JSON in data attributes with JS - by skunkbad - 11-15-2017, 09:22 AM
|