how to customize button click event

Apr 1, 2009 at 4:50 PM
Hi,

I need to save chat log into database. How can I add onclick event for button?