submit

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition
By Robert Eckstein, Stephen Spainhour
Table of Contents
Chapter 14.  The CGI.pm Module


submit

 print $query->submit([ '  label  ','  value  ' ]) 

Generates a submit button.

label

The label to use for the button.

value

The value to return when the form is submitted.

Using named parameters, the syntax is:

 print $query->submit(-name=>'  name  ',                   -value=>'  value  ',                   -onClick=>  function  ); 
-onClick=> function

Browser should execute function when the user clicks the Submit button.


Team-Fly    
Top


Webmaster in a Nutshell
Webmaster in a Nutshell, Third Edition
ISBN: 0596003579
EAN: 2147483647
Year: 2002
Pages: 412

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net