Injecting Client-Side Script from an ASP.NET Server Control
What you should do, is to study and understand the HTML which is produced by the ASP.NET controls.
One important point is that the server-side control IDs do not correspond with the client-side IDs of the HTML element. E.g. you'll have to do things like this:
A good book to learn jquery is Jquery in Action