Displaying Form Names on Post Page

Giganews Newsgroups
Subject: Displaying Form Names on Post Page
Posted by:  Agent Michael Scarn (ruikk…@gmail.com)
Date: 7 Sep 2006


I need to be able to dynamically display all of the form names from a
form I just submitted.

I have a javascript which will display all the names of the form on the
first page, but i need them displayed on the post page.

Any help would be greatly appreciated!

Here is the javascript that works on the first page...

<script language="JavaScript" type="text/javascript">
var myForm = document.forms.f;
var elements = ""
for (i = 0; i < myForm.elements.length; i++)
  elements = elements + myForm.elements[i].name + "&";
// -->

<script language="JavaScript" type="text/javascript">
// -->