How to Update Two div at same time with Two different response by using ajax
How to Update Two div at same ti开发者_JAVA技巧me with Two different response by using ajax;
Ajax requests are asynchronous. so you can save first response, send second request in first request callback and in second callback function update divs with first and second responses. this way you can be sure that both responses arrived and ready to be processed.
精彩评论