Grow your CSS skills. Land your dream job.

adding delay to dojo

  • # April 23, 2012 at 7:50 pm
    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

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".