title: Disable button based on default select value
body: <p>I have my Javascript code where I am enabling or disabling the button with id "editsaveBtn" based on my value in the select dropdown menu. The select drop down is wrapped in div tag with id "cardExpired". But this happens only when change event happens. </p>
  
  <pre><code>$("#cardExpired").on('change',function(){
         if($(this).find('option:selected').text()=="Select a Value")
             $("#editsaveBtn").attr('disabled',true)
         else
             $("#editsaveBtn").attr('disabled',false)
  });
  </code></pre>
  
  <p>I would like the add the code to disable the button when the page loads for the first time and value in drop down is "Select a Value".</p>
  
  <p>Please suggest how I can write this code</p>
  
  <p>Thanks</p>