I have created a dashboard for my application with multiple widgets. Each widget having its own corresponding functions. During the initial load of the dashboard all widgets are calling their own functions through $(document).ready() with ajax. The problem with this scenario is at a time only one function is executed and only after successful execution of first function second one executed, like wise all remaining functions are executed. If am having 10 widgets then all are displayed one after another.
I need to execute all functions simultaneously based on their execution time. What i mean is one widget should not wait for the completion of other widget to finish but has to process and display the results simultaneously as and when its function completes its process.
$.ajaxis cross domain (jsonp) the wait is necessary, else the optionasync: trueis default. can you post your code for more explain