click

fires after a click on a button in a form

void click(string name,Event e){ ... };

Parameters

namestringthe name (or id, if the name is not specified) of a clicked button
eEventa native event object

Example

form.events.on("Click", function(name, events) {
    console.log("Click", name, events); 
});

Change log

added in v7.0

Back to top