title: convert string to object for using jQuery.each() function
body: <p>I create a string:</p>
  <pre><code>myOption = &quot;{val1:'text1', val2:'text2'...}&quot;
  </code></pre>
  <p>I need convert this string into a Object:</p>
  <pre><code>myOption = {val1:'text1', val2:'text2'...} 
  </code></pre>
  <p>for using the jquery each function and take a pair value/text in each iteration.</p>
  <p>Now in each iteration, it takes one char of the string.</p>