The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › adding delay to dojo
dojo.addOnLoad(loader); function loader() { var loading = _ui.list.innerHTML = ""; dojo.xhrGet({ url: "php/getDomainInfo.php?domain=" + _domain, delay:1000, handleAs: "json", timeout: 5000, load: function(response, details) { _refreshSectionVisits(response); }, error: function(error_msg,details) { _handleError(); } }); }
how do i add a delay “delay:1000,” just doesn’t work here