javascript - Test if two elements are the same -


i suspect work @ first:

if ($('#element') == $('#element')) alert('hello'); 

but not. how 1 test if elements same?

as of jquery 1.6 can do:

$element1.is($element2) 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -