Wich is the best way to know if a element for example a div is defined?

like in php

if ( empty($test) )

or

if ( isset($test) )


thx

Reply via email to