title: get select option value using $(document).ready function in jQuery from multiple dynamic record?
body: <p>Here is my code</p>
  
  <pre><code>foreach($test as $val){
  
  &lt;select name="change" id="change-&lt;?=$val['id']?&gt;" data-id="&lt;?php echo $val['id'];?&gt;"&gt;
       &lt;option value=""&gt;Select Value&lt;/option&gt;
       &lt;option value="1"&gt;one&lt;/option&gt;
       &lt;option value="2"&gt;two&lt;/option&gt;
       &lt;option value="3"&gt;three&lt;/option&gt;                
   &lt;/select&gt;
  }
  </code></pre>
  
  <p>I want every different record blank value alert in every 3 min. so please help me. thanks!  </p>
  
  <pre><code> $(document).ready(function(e) {
  
      var change = $('#change').val();
      if (change == '') {
         alert('Please Select Shipping Destination!');
      }
  
  });
  </code></pre>