Welcome Guest, Not a member yet? Register   Sign In
Using JSON in data attributes with JS
#4

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.
Reply


Messages In This Thread
RE: Using JSON in data attributes with JS - by ivantcholakov - 11-14-2017, 10:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB