[jQuery] show could take an argument

[jQuery] show could take an argument

> it would be nice to just say $("#mydiv").show(!somethingorother).

If you want a one-liner you should be able use this:
$("#mydiv")[somethingorother?"hide":"show"]();
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/