I wonder if it is necessary to first check if an element exists before manipulate it?
- if ( $('#item_123').length === 1 ) {
- $('#item_123').remove();
- }
Or can you simple use whether the item actually exist or not?
I know it both works, but what is the proper way to go?
Christophe
http://www.opera.com/