2529 次
2 に答える
7
于 2010-03-18T11:30:21.000 に答える
1
Without seeing the code for showhide
there is no way to see exactly what you're doing wrong. Since you mention jQuery, here is how to do what you describe with it:
$('.gkvSprite').click(function() {
$(this).addClass('selected');
});
It's also worth noting that it's invalid to start an ID with a number.
于 2010-03-18T11:33:06.907 に答える