Quick Jump ↵
Add the code below inside your <body> tag and then update it…
<body>
<script type="text/javascript"> $m.wand.ajax_onload = { callback : "JS_FUNCTION" // optional -- JavaScript callback; defaults to "simple_content_update" ,element_id : "ELEMENT_ID" // REQUIRED -- a unique identifier ,ga_track : false // optional -- "true" or "false"; defaults to "true" ,method : "get" // optional -- "get" or "post"; defaults to "get" ,password : "" // optional ,query : "NAME=VAR" // optional -- "extra=awesome&foo=bar" ,timeout : // optional -- in seconds ,update_id : "ELEMENT_UPDATE_ID" // REQUIRED -- an HTML element that will receive the data from the server ,update_id_action : "overwrite" // optional -- "overwrite", "append", or "prepend"; defaults to "overwrite" ,url : "/PATH/TO/SERVER/SCRIPT/" // REQUIRED ,username : "" // optional } </script>
AJAX On Load will fire as soon as it can — wait for it, wait for it…
« Back to the main documentation