Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] How do i get the name of the form in JavaScript


  • From: walter at torres.ws (Walter Torres)
  • Subject: [Javascript] How do i get the name of the form in JavaScript
  • Date: Thu May 15 01:06:29 2003

assuming you have only 1 form in your document...

  var strFormName = document.forms[0].name;

walter



> -----Original Message-----
> From: javascript-bounces@xxxxxxxxxx
> [mailto:javascript-bounces@xxxxxxxxxx]On Behalf Of Selvaraj, Murugan
> (Indsys)
> Sent: Thursday, May 15, 2003 12:15 AM
> To: javascript@xxxxxxxxxx
> Subject: [Javascript] How do i get the name of the form in JavaScript
> 
> 
> Hi
> 
> I have a form with specific name.I want to get the name of the form using
> javascript.How do i get that.Help would be appreciated.
> 
> Regards
> Murugan
> 
> 
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this 
> communication is strictly Prohibited. 
> If you have received this message by error, please notify us 
> immediately, return the original mail to the sender and delete the 
> message from your system."
> 
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript