Making a GET request is easy, you just specify an URL in the href attribute of an anchor tag.
But, how do you add a JSON object to that URL?
I’m guessing this has to be done through jQuery… but I can’t user AJAX, or the response isn’t rendered by the browser.
so far, I’ve tried this: $j("#gen").attr("href", $j("#gen").attr("href") + "?" + JSON.stringify({object: data})); but it doesn’t append the data. This is triggered onClick
This should work: