Same variable in multiple tabs

Same variable in multiple tabs

Hi everyone, 

I am using the tabs ui widget and have 6 tabs made.  In my index.html, I have
a variable that gets loaded with a particular value according to the tab that I am in.
Whenever the user clicks on a particular tab, I first clear all fields to let the new
values get populated.  

The problem I am having is that where I clear the field, it is having a problem or I am
not specifying correctly where to clear the field.

Here is a picture showing what is happening:



The one I would like to clear is 1:  td#variable00, I am doing the following as you can see from the picture
$('#variable00').text('');    How can I address/clear   tab 1: td#variable00?

Thanks,
Neil