It is going to be same where have written the javascript function in the Page/ another file Just pass the Client id of the control to getElementByid method that should work ...... What problem are you facing ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "