Hi,
Please check and rectify few things mentioned below.
Are you including the jQuery script file into this page? That might explain issues with error messages about the "$" variable.
Use click() instead of onclick() to fire click events. onclick is a handler that is fired when the element is clicked, but is not used to initiate the event itself.
The element's id might not be what you have defined in the page due to ASP.NET namespacing and its goals of ensuring unique element ids on the client. An easy way to figure this all out is to View Source on a rendered page and find your button and its "real" id.
As mentioned in the comments to this post, the jQuery script must referenced by the page via a <script> tag for the jQuery functions to work.
Also don't forget to clear your browser's cache.
Thanks