Hello,

Please take a look at these codes:

for (number=0; number<20; number++) {
	$("div#container").append("<div class=n" + number + "></div>");
}

It works in FF, Safari, Chrome, Opera, IE8, IE9 but it's not working in IE7 or lower.

I've tried to fix it for an hour but I couldn't. If you know what I'm doing wrong, please let me know.

Thank you.

    The first thing I'd try is quoting each and every single attribute value, and then stick to always doing that.

      Write a Reply...