title: Trim extra space with javascript
body: <p>I'm using PHP tidy and it automatically indents markup, adds tabs and spaces. Please take a look at this. </p>
  
  <p><a href="http://jsfiddle.net/njh85/" rel="nofollow noreferrer">http://jsfiddle.net/njh85/</a></p>
  
  <p>I got 2 questions:</p>
  
  <ul>
  <li>How to remove this extra spaces from selected option (The reason is PHP tidy library: adds extra space to indent markup. But I can't turn it off, so I'm searching some JS solution to trim text)</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/ErnNW.png" alt="enter image description here"></p>
  
  <ul>
  <li>How to make "Select one" to act as HTML5 placeholder?</li>
  </ul>