Skip to content

Long running process #46

@dfloresgonz

Description

@dfloresgonz

I have a javascript method which invokes a php function which takes around 4 seconds, well the bar starts loading just when the ajax call returns the value from the PHP function. I'd like the bar to start loading just when the user clicks the JS function call. How can this be achieved.

function jsfunction(){ 
     simplebar.go(10);
     /*ajax call PHP takes around 4 seconds*/
    simplebar.go(100);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions