I have some custom javascript code which works great in firefox, however in chrome it seems to not respond at all, the page is located here:
http://wiki.tf2clan.co.uk/index.php/games/sizes
I would appreciate any input as to why chrome doesn’t like this, and/or any alternative code snippets
I’m getting errors on the filter:
What I’m doing wrong?
getElementsByTagNamein every iterationSolution:
Alternative:
If you are not a Javascript expert, I recommend to use jQuery to manage the DOM elements, it’s cross browser and very documented. For example, you could do something like this with jQuery instead the whole
forloop: