title: Change value to placeholder (input field)
body: <p>I want to change the value attribute to placeholder with jQuery. So the result would be something like this</p>
  
  <p>Original</p>
  
  <pre><code>&lt;input type="text" value="Enter name" /&gt;
  </code></pre>
  
  <p>What I want to change above to</p>
  
  <pre><code>&lt;input type="text" placeholder="Enter name" /&gt;
  </code></pre>
  
  <p>I have only found solutions for changing the actuall text between the "" and not the text before those. So replaceWith, replaceAll does'nt seems to work.</p>
  
  <p>Someone having an idea how to solve this?</p>