If element exist then check?
<p>The code does work below when the access to the webpage, it automatically hide <code>#OrderDeliveryAddress</code> div. But I am wondering is this correct way doing it?</p>

<p>Is there a way to check if <code>.selectAddressList</code> div/class exist first and then check the value?</p>

<pre><code>$(document).ready(function() {
    if ($(".selectAddressList").val() == "selectAddressBook") {
         $("#OrderDeliveryAddress").hide();
    }
});
</code></pre>
