Answered: Displaying results in one tab panel as output of operation in another tab panel
I have two tab panels. In 1st tab, I will send an ajax request to the server. Upon success, the result should be displayed in 2nd tab panel. However initially both the panels are rendered before the ajax request is made and this request is done only after a button is pressed in 1st panel. Now, my problem is that my 2nd panel is already rendered initially and how can my 2nd panel know that the request was successful , fetch the output of ajax request and display the result only if it was successful?