Matthew
Matthew

Reputation: 15652

jquery effects (show)

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".

Upvotes: 0

Views: 140

Answers (1)

Nathan Osman
Nathan Osman

Reputation: 73245

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

$('#item').show();
$('#item').hide();

Upvotes: 6

Related Questions