have 2 different div elements and I have made a function that sends request to the server every time the div block is loaded ( page refresh ). The server returns some data.
                  
                  
                  The problem is the 2 divs make call to server but only the one div block is getting the data from server (the one that makes latest request )
                  
                  
                  How to solve the problem so that each div block gets its own data?
                  
                  
                
Here I'm passing the div element id as function parameter to distinguish the 2 div's
Обсуждают сегодня