I’m using the Toolbox plugin to fix the formatting of some bad JSON.
I need to take the bad JSON (which is in my database) and run a simple JavaScript function on it (which I already have built).
I have everything completely built, except my JavaScript has var bad_json = ?
because I can’t figure out how to get the data into Javascript.
By the way, I can’t usedocument.getElementById("my_id")
, since this is a RG, that breaks since there’s more than one element with the same ID.