jQuery replace spaces in word
<p>I have an <code>select</code> on my page with the <code>value</code> of <code>Test One</code></p>

<p><code>&lt;option value="Test One"&gt;Test One&lt;/option&gt;</code></p>

<p>I wondered if there was a way to replace spaces in words using jQuery</p>

<p>I'm aware of the jQuery Trim technique but this only gets rid of spaces at the beginning and end and i'm looking for something to remove the spaces so it becomes <code>TestOne</code></p>

<p>Any ideas?</p>
