tags:

views:

21

answers:

1

Is there a way to just have something "show"? I know there's the effect called show, but I mean something with no animation. I know I could make the speed way fast or something. Or I could change the css from hidden or something. But does someone know of a built in method that does that? Same with "hide".

+6  A: 

Just use show() with no parameters. Same with hide().

$('#item').show();
$('#item').hide();
George Edison
+1 for not antagonizing the OP...more patient than I
munch
+1 $('#item').hide(); == $('#item').css('visibility','hidden');
Ben