-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Description
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
Labels
No labels