Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Submit a form without submit button
Message
 
À
03/01/2002 17:57:39
Information générale
Forum:
Visual Basic
Catégorie:
Applications Internet
Divers
Thread ID:
00600548
Message ID:
00600670
Vues:
17
Try using parentheses when calling a method. Not sure with VB scripting cause I don't use it on the client side.

ie. ReportsForm.submit()


>Hi,
>
>(Sorry if this is a wrong forum to post vbscript)
>
>Appreciate if someone can tell me how to submit a form which has only one hidden field. for example below code does not run the viewreport.asp
>
>	Sub ShowReport(cReport)
>		ReportsForm.serial.value = cReport
>		ReportsForm.submit
>	End Sub
>-->
>
>......
>I have some code here and at the end the below
>
>FORM ID="ReportsForm" Action="viewreport.asp" Method="post"
>	INPUT Type='hidden' Name='serial' ID='serial'
>/FORM
>
>..... I have removed the tags opening and closing tags from above 3 lines as
>otherwise it does not let me post this message to this forum. Thanks
>
>
Michael McLain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform