I am quite surprised by the lack of solution on Google for my problem. I developed a calculator in php / jscript and inevitably it works on IE7 and Firefox 2 and so on, but 20% of Internet users are still on IE6. So I must also think about them.
So that's my problem:
Line 18
Error Unable to activate the control because it is either invisible or inactive
My question:
HTML Code:<script type="text/javascript"> //<![ CDATA [ nbpages = 7; // number of tabs function page (npage) { list_tags = document.getElementById ("tabs").getElementsByTagName ("li"); for (i = 0; i < list_tags.length; i++) { list_tags[i].className = ""; } document.getElementById ( "tab" + npage). className = "active"; for (i = 1; i <= nbpages; i++) { document.getElementById ("content" + i).className = "nonactive"; } page_elt = document.getElementById ("content" + npage); page_elt.className = "active"; if (page_elt.getElementsByTagName ("input") [0]! = null) { page_elt.getElementsByTagName ("input") [0]. focus (); page_elt.getElementsByTagName ("input") [0]. select (); } } //]]> </script>
Bookmarks