[jQuery] Display a div if and id is found

[jQuery] Display a div if and id is found


Is there a simple way with jQuery to find a div with a specific id,
and display a different div if the id is found? I know this may not
be the best way to accomplish something, but I am trying to avoid
rewriting a shopping cart plugin.