English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2 answers

What are you trying to do? What does f1 represent?

function procVote()
var x = document.forms..size();
{
for (i = 0; i <= x; i++)
{

}
}

2006-06-16 03:48:55 · answer #1 · answered by Sean I.T ? 7 · 0 1

there are numerous of because of the fact they have diverse purposes and a few languages artwork greater beneficial for various purposes (eg. greater effective, less demanding to apply, or whether its even available). Programming is likewise evolving so as that greater languages spring as much as cope with initiatives which could no longer be dealt with earlier. html is for designing the static format of a internet site css is for styling the content textile of your internet site own residing house page is for starting to be dynamic content textile javascript is for including dynamic and lively content textile to a internet site perl is a scripting language Ajax stands for Asynchronous JavaScript And XML it enables improve interactivity asp is for starting to be information superhighway purposes and dynamic web pages vbscript is a scripting language for starting to be numerous purposes sq. is a database language xml language to demonstrate content textile eg. feeds search engine optimization is search engine optimization and definitely ability convalescing your internet site content textile to rank greater beneficial on a seek engine for a particular key-word Actionscript is a programming language for flash to make it smart for numerous purposes Thats a rapid, common evaluate. there are hundreds of makes use of for each language. in case you think of you comprehend which of them you could desire to be attracted to using you could desire to purchase a e book for one. while you're commencing out the information superhighway progression the appropriate ones to earnings are html and css then own residing house page.

2016-12-08 09:41:42 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers