CoffeeAddict ha scritto:
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?
I think so, but I never use this syntax.
For definition the id is unique, then I use
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
2 matches
Mail list logo