Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display different order

Status
Not open for further replies.

onressy

Programmer
Mar 7, 2006
421
CA
Hi, i'm displaying the form field name on the html page of a form in the html page. currently the field names are displayed in horizontal order then the next line:

field 1
field2
field3
field 4

when the html looks like this:

field 1 field2
field3 field 4

i would like to display the fields like so:

field1
field3
field2
field4

this i what i have:
Code:
for(i=0;i<document.f3.length;i++;){
document.write(document.f3[i].name+"<br />");
}

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top