var cname_input document getElementById cname mas cname_input value

1
2
var cname_input = document.getElementById("cname");
mas[0][0] = cname_input.value;