robdog Well-known member Nov 16, 2017 #1 So I have been creating a lot of click handlers as extensions to the main XF JS object, but is there a way to do this with a KEYUP or KEYPRESS event? Thanks!
So I have been creating a lot of click handlers as extensions to the main XF JS object, but is there a way to do this with a KEYUP or KEYPRESS event? Thanks!
Mike XenForo developer Staff member Nov 17, 2017 #2 You'd either not do that through our handler systems and just listen to the events directly or you'd do it through an element handler instead of a click handler (and setup the events there).
You'd either not do that through our handler systems and just listen to the events directly or you'd do it through an element handler instead of a click handler (and setup the events there).