Hi,
Is there any way by means of which One can detect All Combo Boxes (Select box) in a web page and at the same time hide them. The combo box names are not known.
I'm not sure how cross browser this is but you could try.
Code:
var x = document.getElementByTag("select")
for (i=0;x && i < x.length; i++)
x[i].style.display = none
// or
// x[i].style.visibility = "hidden"
var x = document.getElementsByTagName("select");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
// or
// x[i].style.visibility = "hidden"
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.