jquery tabs

jquery tabs

Hello,
i developed an application to test webservices and return a json code and i put it in new tab of (.ui-nav-tab).
when i select the webservice, a new tab will be created with json code in the content-tab.
But i have a big problem !! when i add a new tab, the content of the previous tab become empty.

Can you help me please. i have a short deadline.