Forum:GetElementsByClassName

My wiki: http://www.puzzles.wikia.com My browser: Chrome 14.0.797.0

Does the javascript method getElementsByClassName not work on wikia? If I replace all of them in my code with getElementById it works, so my code is correct; it's just class names that are the problem for some reason. Does anyone know why?  neochronomo [ T ⁞ C ]    12:13, June 26, 2011 (UTC)


 * Wikia supports JQuery. You might want to try equivalent JQuery functions. -- Fandyllic (talk &middot; contr) 26 Jun 2011 7:22 PM Pacific


 * Resolved in chat, but it's worth mentioning here too -  is a non-standard JS function. It works in some browsers (including Chrome and Firefox), but not all browsers. jQuery is a solution, but we ended up using DOM in a for loop.