Get object of calling form in .each
Hi:
I am using .each to find each form and attach validationEngine with it.
When validationEngine success, i want object of calling/owner form.
I am trying this, it is alerting that is is object. But i am not able to access "action" of form using this.action.
However this.action is working fine bellow outside of validationEngine.
$("form").each(function() {
$(this).validationEngine({
success : function() {
// i want to get object this form
alert($(this));
alert(this.action); // NOT WORKING
alert($(this).action); // NOT WORKING
}
});
alert(this.action) // WORKING
});