How to split spaces in strings (cross-browser safe)
<p>What is the best cross-browser practice to split spaces in a string with Javascript?
I tried <code>theString.split(" ")</code> but i am having issues with IE and Chrome/Safari.</p>

<p><strong>Update</strong></p>

<p>Here's the js code. IE/Chrome throw error at line: 61</p>

<p><a href="http://pastie.org/1151951" rel="nofollow">http://pastie.org/1151951</a></p>
