How to call specific div in ASP?

Enlightened

New member
Hi, I am having problems with this. I am new to web applications and this is my first one, but I have understood it a lot since I started. So now I have a master page and have a contentplaceholder in my main content/body in main and want to replace that content in my other page... since I have a bunch of pages, and I do that correctly, call the content and can put stuff in there. My main problem is this: I have a bunch of tabs (tab buttons) at top of page and for each tab I would like to display a specific div, since one tab is application, another tab is work history, and so on, and I would like to do this with Ajax. I will figure out that ajax part, but right now I am unable to call these divs.

For example, i call it like this:

<li><a id="SSNumber" href="#div1" onclick="return SSNumber_onclick()">SS Number</a></li>

that's one of my tab buttons and I call div1. But when I load the page (main page) all of the divs from all tabs are loaded in that page and when I click a tab, I can't call a specific div since they already called. Can someone please help me how to do this? With whatever, JavaScript or whatever.
 
Back
Top