Name
button
Synopsis
print
$query
->button('
name
','
function
')
Description
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.
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.