Thanks everyone. I found a solution for my situation.
On Dec 6, 9:16 am, Dan Switzer [EMAIL PROTECTED] wrote:
Will,
Does anyone know of a way to use class like objects in event handling
using jQuery?
For Example,
input type='button' value='Button' onclick='Record.show()' /
where
Will,
Does anyone know of a way to use class like objects in event handling
using jQuery?
For Example,
input type='button' value='Button' onclick='Record.show()' /
where .show() is a method of the Record object. This would be really
cool to be able to reuse the method name .show() but
As with your other question about functions and variables, could you give a
specific example of some jQuery code that doesn't look good to you, and then
we can talk about how to clean it up?
One thing to keep in mind is that jQuery focuses pretty much on DOM
manipulation. It doesn't provide much
This sort of goes against the grain of what jQuery is about -- UJS
(unobtrusive javascript). I think what you're normally do (or at
least, what I'd do; I'm not a huge buff on passing validation) is add
a record_id property to the input, then have like
input type='button' value='Button'
4 matches
Mail list logo