Adding two event to a button
Hi to all,
I have a layered Pop Up window, it has some text boxes and a save button, i want when user click Save Button,the record should be saved in DB(for this i have written a function that is called against onclick of the button), and window should be closed(for that i have written a function in javascript)
How i can add do this, I have tried to use button.attribute.Add("Onclick","javascript function"); but it also does not work, the latest event handler overwrite the old event handler.
Regards,
Saqlain Abbas
|