Jquery split function
<p>I have a ajax function as below</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function () {

var timer, delay =600000; //5 minutes counted in milliseconds.

timer = setInterval(function(){
    $.ajax({
  type: 'POST',
  url: 'http://localhost/cricruns-new/index.php/score-refresh/fetchdes/index/86/1',
  success: function(html){

    alert(html);
  }
});

},delay);

});
&lt;/script&gt;
</code></pre>

<p>it outputs the following </p>

<p><code>total:-370:-wickets:-4:-overs:-50.0:-striker:-Yusuf Pathan:-sruns:-8:-sballs:-10:-sfour:-0:-ssix:-0:-nonstriker:-Virat Kohli:-nsruns:-100:-nsballs:-83:-nsfours:-8:-nssix:-2</code></p>

<p>i want to split the result using <code>:-</code> and i have to assign even values to the div which has the id as the odd value..</p>
