my code
var str =$(this).attr(\'id\');
this will give me value == myid 5
var str1 = myid var str2 = 5
var str =$(this).attr('id'); var ret = str.split(" "); var str1 = ret[0]; var str2 = ret[1];