title: PHP - Get colour input value
body: <p>I'm currently making a form that includes a few dynamicly added <code>&lt;input type='color'&gt;</code> fields, and I want to post their values to another php file.</p>
  
  <p>How could I achieve this? Is it possible to do without JavaScript?</p>
  
  <p>Sample input:</p>
  
  <pre><code>&lt;input name='ID From database' type='color' id='colorpicker' value='value from DB'&gt;
  </code></pre>
  
  <p>The JS:</p>
  
  <pre><code>var color = $('#colorpicker').val();
  colorpicker = $('#colorpicker');
  $('#colorpicker').on('change', function() {
    colorpicker.value(this.value);
  });
  </code></pre>