I have javascript function1 which calls another function2 my requirement is that function 1 should not wait for function 2 execution.
My function 2 calls ajax which makes process delayed which causes user to wait until my function2 returns. is there any i can return from function1 as soon as function1 calls function2 ?