title: jQuery string split the string after the space using split() method
body: <p>my code </p>
  
  <pre><code>  var str =$(this).attr('id');
  </code></pre>
  
  <p>this will give me value == <strong>myid 5</strong></p>
  
  <pre><code>   var str1 = myid
     var str2 = 5
  </code></pre>
  
  <p>i want something like this ..</p>
  
  <p>how to achieve this using split method</p>