I am using a custom validator in my aspx page and i have written a client side javascript function in the page and associated it with the custom validator. In my aspx page there are two button controls. What ever button i click it calls the client side javascript function. Is there any way in the client side javascript function to find out which button has been clicked(out of two) so that i can perform different validations. Any infomration would be highly appreciated. Thanks