jQuery exception if element doesn't exist

Posted by Alex Ivasyuv on Stack Overflow See other posts from Stack Overflow or by Alex Ivasyuv
Published on 2010-05-11T15:48:23Z Indexed on 2010/05/11 15:54 UTC
Read the original article Hit count: 265

Filed under:
|

I working with jQuery and I need to get anytime and anywere exception (with any operation), if I attach some event or try to perform some action with elements (got from selector) that don't exist. Is there some internal "strict" mode in jQuery for this issue?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery