Please Convert This Code Lines From VBScript to Javascript for get all form value . (not work for mozilla firefox)
2006-06-16
03:38:27
·
2 answers
·
asked by
Spitrabergâ?¢
4
in
Computers & Internet
➔ Programming & Design
elements of form isn't avaliable , i know how use getElementById to gather data, but only with this code you can get all unkown form value .
2006-06-16
03:53:31 ·
update #1
answer :
how get unkown form value and recognize elem that must be fill :
function proc(){
var fc = document.forms[0] ;
var c = new Array(),i ;
for(i=0;i
c[i] = (String(fc.elements[i].value)) ? String(fc.elements[i].value) : "*" ;
document.writeln(c);
}
* filed are empty and must fill
2006-06-16
07:53:48 ·
update #2