[jQuery] Access a certain Button

[jQuery] Access a certain Button


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.