title: 'trim()' javascript function issues with Internet Explorer
body: <p><code>trim()</code> is not working in <code>Internet Explorer</code>(it's working properly in <code>Chrome</code> and <code>Firefox</code>). However I need to trim the value to prevent empty spaces.  </p>