Hi,
I am using $e and it is working fine for buttons.
But when I try to use it for text input I keep getting the following error:
Error: Cannot assign to read only property ‘onKeyPress’ of object ‘#’ (on wix-event-wrapper line 32)
When I replace the $e with the usual $w it gives no error.
It seems that there is a specific problem with elements that have the “onKeyPress” event because in button elements (that don’t have the “onKeyPress” event at all) the $e works fine.
In my program I really need this to work also for the onKeyPress, as well as for the onClick event of the text input element.
Would really appreciate any insight.