URL content for Tabbar

Hi,
I’m trying to use a tabbar to display a url. Each tab is using the same url except they have different querystring value. For example: tab1 is using showdata.aspx?id=23 and tab2 is using showdata.aspx?id=56.

In the showdata.aspx we’re using jquery to do various things. It looks for certain controls and display the data on it. The problem is that the two tabs are using the same page so we have same control ID twice. When we use jquery to search for control on a page, it is not distinguisable from one page to the next.

I know we can probably name the control on page such that it is unique(appending the id to the name for example). Does your product provide a solution/alternative to solve this issue?
Thanks.

Hi,

no, our product doesn’t provide a solution for this

You can add a random number as an additional argument for jquery to keep them distinct if that would assist…
e.g., add to the url variables ‘…?id=’+yourid+‘rand=’+Math.random ()

You could also add something to tell you what tab you’re calling from … tab=tab1 or tab=tab2