I want to do something like :
function validateBody($obj)
{
}
$ojb.keyup(validateBody($ojb));
How to do it the right way?
jquery
I want to do something like :
function validateBody($obj)
{
}
$ojb.keyup(validateBody($ojb));
How to do it the right way?
Best Solution
This will do what you are looking for:
Check out the documentation on event.data and bind