Displaying 1 result from an estimated 1 matches for "certaii".
Did you mean:
certain
2007 Nov 08
0
Adding oonclick handler to certaii elements
Hi all
I''m new to Prototype, and am stuck at trying to bind an onclick event-
listener to some table rows.
I have normal table (don''t worry, it IS tabular data).
I would like a certain function to fire when rows with a specific
className is clicked, so I do this:
var theRows = $$(''tr.details'');
Now, I then try to use the ''each'' function,like