[jQuery] How do you test if an object exists?

[jQuery] How do you test if an object exists?


I'm getting weird bugs when using setTimeouts and/or setIntervals
after I hit the back button in Firefox to come back to the page.
I need to do a check at the top of any setTimeout to make sure that
the object I need still exists.
But I dont know how :(