Skip to main content
4 of 4
adding clarification about enter button clicking
GavinR
  • 3.1k
  • 5
  • 26
  • 39

Widget Admin - Form Submit Event?

I'm creating a widget, and cannot figure out how to get an event right before the person clicks "save" or presses the enter button on the widget admin panel. What would be the javascript code to get the event on the widget admins' form submit?

Example: enter image description here

Thanks!

GavinR
  • 3.1k
  • 5
  • 26
  • 39