In my personal experience, I have implemented pages with over 1000 unique identifiers, and even IE seems to do pretty well. However, remember that IE will create a global variable for each identifier on the page and remember that in javascript usually both global variables and function names are simply attributes of the window object.
So, in IE, the following code will break:
<div id="foo"></div>
<script>
function foo (txt) {
document.getElementById('foo').innerHTML = txt;
}
</script>
Just something to keep in mind, because with so many IDs, the likelihood of collision of function names increases.
source
share