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 -

c# - Json.Net Serialize String from URI -

ruby on rails - What is the best design practise to create tables from same controller using same actions -