I have a database, analysis.php and index.php webpages. The analysis.php gets the data from the database, sorts it in a required pattern, and then echoes the json_enco
json_enco
In addition to LJ_1102's solution, here is a way to fix your current snippet:
JSONText.load('analysis.php?data=' + identification + ' #data', function() { console.log("JSON Imported: '" + identification + "'"); var obj = jQuery.parseJSON(JSONText.text()); console.log(JSONText.text()); });