Quick Jump ↵
Magic can parse a returned JSON object if you want to do more advanced things with the returned data
data-mjf_ajax_call_on_success="magic_json"
[ { "update_id" : "ELEMENT_1" ,"update_html" : "HTML_STRING_1" ,"update_callback" : "YOUR_FUNCTION_1()" } ,{ "update_id" : "ELEMENT_2" ,"update_html" : "HTML_STRING_2" ,"update_callback" : "YOUR_FUNCTION_2()" } ,{ "update_id" : "ELEMENT_3" ,"update_html" : "HTML_STRING_3" ,"update_callback" : "YOUR_FUNCTION_3()" } ]
update_id
update_html
update_callback
• Get me a JSON object and then populate the three <td> tags below with the various content.
« Back to the main documentation