javascript - .click function in jquery always have to get a nameless function? -


Hello everyone I have a small problem.

I have a function, let's say this:

function rowClick () {}

Anyway, the question is:

How can I share this function without a click event being called it?

What do I mean, if I do this:

  $ ("#holder") Click (function () {RowClick ();});  

Click the rowClick function when registering on the event.

Anyway, I understand why this happens why I could not understand how I can tie the ceremony in a function that it will not be called.

Thank you. Function

function by name and remove the bracket, example:

 < Code> $ ("#holder"). Click (click the row);  

Comments