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

  • Can you please explain your question in more detail? What do you mean exactly by "Navigate between Multiple Controls"? Feb 7, 2012 at 1:43

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.