Anyone know why the following line throws an error in IE7 and works fine in FF3 and Opera9.5? The complete HTML and JS and be found here: http://veryheavy.org
$("<span/>").attr({class:"tag", onclick:"javascript:showBookmarks(" + "\"" + i + "\"" + ");"}).text(i).appendTo("#leftcol"); IE seems to puke on the braces {} Any ideas?