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 always this syntax: $('#btnRegister').

Waiting for correction on my thought :-)

bye


--
gianiaz.net - web solutions
via piedo, 58 - 23020 tresivio (so) - italy
+39 347 7196482

Reply via email to