SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please tell me how to Navigate between Multiple Controls within a web part in sharepoint 2007, by using javascript.

share|improve this question
Can you please explain your question in more detail? What do you mean exactly by "Navigate between Multiple Controls"? – Vardhaman Deshpande Feb 7 '12 at 1:43

I think what you are trying to do is show and hide groups of controls, so you should put each set inside an HTML element such as a div or table for example, and give that an id. Then you can change the visibility of the alternate set when each is clicked. You would use something like:

document.getElementById('group1').style.visibility = "visible";
document.getElementById('group2').style.visibility = "hidden";

For the other group you would swap the hidden and visible values.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.