[Seaside] Re: How to detect a key modifier during mouse click

Dave lasmiste at gmail.com
Thu Nov 12 11:30:04 UTC 2015


The code from previous email wasn't visible, so I repost the email again:
-------
Hi guys, 
Is there a Seaside way to detect if a key modifier is pressed during a mouse
click event? 

i.e. with standard jquery I can code something like: 
$(#myDiv).click(function (e) {
    if (e.keyCode == 18) {
        alert("ALT was pressed");
    }
     else ...
});

but I can't imagine how to do the same on Smalltalk 
html div onClick: ????

Can you help me please? 
TIA 
Dave



--
View this message in context: http://forum.world.st/How-to-detect-a-key-modifier-during-mouse-click-tp4860663p4860664.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list