[Gambas-user] Embedding WebButton_Click() or WebMenu_Click() inside a javascript

Safiur Rahman isafiur at gmail.com
Mon Jul 26 05:49:16 CEST 2021

Hi Benoît

How can I embed WebButton_Click() or WebMenu_Click() inside a
javascript. I want to specify a short cut for WebButton Click and
WebMenu Click using mousetrap.js

For example this works:
  Mousetrap.bind('ctrl+s', function() {
    alert('control + s');

How can I put WebButton_Click() or WebMenu_Click() procedures in place
of alert() in gambas gb.web.gui

(Attached a sample html)

Safiur Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210726/d92e897d/attachment.html>

More information about the User mailing list