Hi folx,
I'm using this piece of code, to send the form data:
==================================
function Send_Form(form){
for (i=1; i< document.getElementById('Tabla_Estudios').rows.length;i++){
for (j=1;j<=6;j++){
var objInput1 = document.createElement("INPUT");
objInput1.type = "HIDDEN";
objInput1.name = "Careers"+i+j;
objInput1.value = document.getElementById('celda'+i+j).valor;
form.appendChild(objInput1);
}
}
form.submit();
}
==================================
There's an input field, type "TEXT".
The value of document.getElementById('celda'+i+j).valor
(when j=5) is "Systems Engineering",
but when I move this value to the variable "objInput1.value"
it only takes "Systems" and ignores the rest of the field value.
It only occurs when the field type is TEXT, in the other cases it works fine.
How could I fix this issue?
TIA and best regards,
Caliban
I'm using this piece of code, to send the form data:
==================================
function Send_Form(form){
for (i=1; i< document.getElementById('Tabla_Estudios').rows.length;i++){
for (j=1;j<=6;j++){
var objInput1 = document.createElement("INPUT");
objInput1.type = "HIDDEN";
objInput1.name = "Careers"+i+j;
objInput1.value = document.getElementById('celda'+i+j).valor;
form.appendChild(objInput1);
}
}
form.submit();
}
==================================
There's an input field, type "TEXT".
The value of document.getElementById('celda'+i+j).valor
(when j=5) is "Systems Engineering",
but when I move this value to the variable "objInput1.value"
it only takes "Systems" and ignores the rest of the field value.
It only occurs when the field type is TEXT, in the other cases it works fine.
How could I fix this issue?
TIA and best regards,
Caliban