line from the form -
<input type="text" name="stroka"> and in the script you need the values of the string put in an array. then calculate the sum of the Numbers of the line How do you advise to implement?
var arr = []; for(var i=0,j=obj.stroka.(length-1);i<j;i++) { arr[i]=obj.stroka.value.charAt[i]; }