var counter = 0;
var str = $("#tel").val();
var shuzu=str.split("\n");
for(i=0; i<shuzu.length; i++){
if(shuzu[i]!="")
counter +=1;
}
alert(counter) ;
var str = $("#tel").val();
var shuzu=str.split("\n");
for(i=0; i<shuzu.length; i++){
if(shuzu[i]!="")
counter +=1;
}
alert(counter) ;