>   $("#"+this.className).[(this.checked?"show":"hide")]();

Belay that, try this:

$("#"+this.className)[this.checked?"show":"hide"]();

I'm always making code longer than it has to be. :)

Reply via email to