Welcome Guest, Not a member yet? Register   Sign In
How to load functions by sequentiall in jquery
#3

[eluser]Bhashkar Yadav[/eluser]
Could you please use
Code:
$.ajaxSetup({async:false});
just after start of the function and use

Code:
$.ajaxSetup({async:true});
before end of function.
Like:

Code:
function load_json_files()
{
$.ajaxSetup({async:false});

/*
Some Code
*/

$.ajaxSetup({async:true});
}

I hope this should work well.


Messages In This Thread
How to load functions by sequentiall in jquery - by El Forum - 01-19-2012, 11:12 PM
How to load functions by sequentiall in jquery - by El Forum - 01-19-2012, 11:48 PM
How to load functions by sequentiall in jquery - by El Forum - 01-19-2012, 11:55 PM
How to load functions by sequentiall in jquery - by El Forum - 01-20-2012, 12:11 AM
How to load functions by sequentiall in jquery - by El Forum - 01-20-2012, 12:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB