title: Get all input values to javascript with the same id
body: <p>I just want to get all different values using javascript with the same id.</p>
  
  <p><img src="https://i.stack.imgur.com/KyQFA.png" alt="Here is my input."></p>
  
  <p>Here is my input code:</p>
  
  <pre><code>&lt;input type="text" id="full" name="full" value="2018-12-06"&gt;
  &lt;input type="text" id="full" name="full" value="2018-12-14"&gt;
  &lt;input type="text" id="full" name="full" value="2018-12-18"&gt;
  </code></pre>
  
  <p>When I alert the id of the inputs it show's the 2018-12-06 only. I want to disable the jquery datepicker but the 2018-12-06  is the only one read.</p>
  
  <p>Here is my calendar.</p>
  
  <p><img src="https://i.stack.imgur.com/XojNY.png" alt=""></p>
  
  <p>and my javascript code:</p>
  
  <pre><code>var x = (document.getElementById('full').value);
  
  var array = ["2018-12-25", "2019-01-01", x]
  </code></pre>
  
  <p>I want to disable all value with same id like the mention above,</p>