I want to pass control to my own javascript function when the NewPage button is clicked.
How to do I do this? Is there a standard way of intercepting the event when any of the buttons are clicked?
I also want to intercept the Save button and use my own function to update a database with the contents.
Thanks
How to do I do this? Is there a standard way of intercepting the event when any of the buttons are clicked?
I also want to intercept the Save button and use my own function to update a database with the contents.
Thanks

Re: How to pass control to a javascript function on button click
Re: How to pass control to a javascript function on button click
Do you know what the NewPage button does and maybe I can capture that event somehow. I just want to do the following when NewPage is clicked.
1) provide a choice to the user to save prior contents before clearing the edit area
2) use my own ajax open program to supply the contents to the edit area
Thanks.
Re: How to pass control to a javascript function on button click
It's a very simple task.