home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


button

 
print
 
$query

->button(
'
name
','
function
'
)

Generates a JavaScript button.

name

The name of the button.

function

The function to execute when the button is clicked.

Using named parameters, the syntax is:

print $query->button(-name=>'

name

',
                     -value=>'

label

',
                     -onClick=>"

function

");
-value=>' label'

The label to display for the button.


Previous: Reference: autoEscape Perl in a Nutshell Next: Reference: checkbox
Reference: autoEscape Book Index Reference: checkbox

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.