JS Help Pls
JS Help Pls
Out of context: Reply #1
- Started
- Last post
- 2 Responses
- acescence0
hard to say, your js is getting a bit chopped. event listeners are tough in IE, i usually use jQuery for stuff like this as it's dead simple and lets you do all sorts of stuff without worrying about onload conflicts and browser differences. something like that is as simple as:
$("ul.yourUl li:even").addClass("evenrow");