I am a notice in JavaScript. I have wondered in my brief perusal of JavaScript books how you tell which form is the referent of the formindex numbers?

At 10:37 AM 5/5/2004, Henrique VIECILI wrote:
you can use javascript to do this job...

like this:

<a href="javascript:document.forms[<formIndex>].submit()" >Enviar Formulário</a>

where <formIndex> is the index of the form you want to submit (starts in 0 -
zero)

Henrique Viecili

----- Original Message -----
From: "cacau_braga" <[EMAIL PROTECTED]>
To: "user" <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 2:17 PM
Subject: Submit with a link


Hi All,


   I need a help. I have a page that contains many forms
   each form represents a record of database.
   I am need to submit that information when a user
click on link, because i can´t use the buttons
(<html:button), I want to use <html:link, but i don't
know to use correctly, i want to send the information
via POST how do i get this ?

My code (a part of):
..... __________________________________________________________________________ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis! http://antipopup.uol.com.br/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to