Just $("#btnRegister").click(function{ // handler code...}) is ok I think if
the id is unique.

On Tue, Oct 6, 2009 at 11:42 PM, CoffeeAddict <dschin...@gmail.com> wrote:

>
>
> I'm trying to get reference to a certain button on the DOM.  I tried this:
>
> $('button#btnRegister').click(function() {
>
> where button has the ID of btnRegister.
>
> is this right?
> --
> View this message in context:
> http://www.nabble.com/Access-a-certain-Button-tp25771231s27240p25771231.html
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.
>
>


-- 
Thanks
Best Regards

ZhaoJing
Software Engineering, Fudan University
goddy...@gmail.com

Reply via email to