Static event headler function in separate page code

Hello!

Is it possible put code of event headler functions in another code page file then disign elements.

For examples

ButtonOne

Event OnClick

I use properties and checkin OnClick and function ButtonOne_onclick (event) {}
appear in my page code.

Is it possible make something like “myevents.js” and put this function here from main page with button.

Thank You in advanse

Just place your event in the masterpage.js file.
You can trigger the event handler from any page.

Thank You. Done.

PS: I did this before by may by mistyping and it not works before. Now - OK

@mazel You’re welcome :wink: