I am calling two ajax updater in one function. The second one takes the parameter from the first request updated select box.

The problem is the second request takes the parameter from previous selectbox
not the updated one.

I tried syncronous request.but it didn't work

if i put alert in between two ajax calls then it works properly