eaweb
asked on
how to pass a value to an ajaxError function
hi,
i have the follwong error trigger:
$("#" + __this.inputField).bind("a jaxError", function(event, request, settings) { __this.triggerError(event, request, settings) });
which execute the follwing:
SBAChecker.prototype.trigg erError = function(event, request, settings) {
$("#" + this.inputField).unbind("a jaxError") ;
$("#" + this.loaderImage).hide();
if (this.inputField == "RecBankBICCode") {
this.unavailable3();
} else {
this.unavailable33();
}
}
my problem is that i cannot get the value of "__this.inputField" in order to use it when SBAChecker.prototype.trigg erError is being executed.
how can i do that?
i have the follwong error trigger:
$("#" + __this.inputField).bind("a
which execute the follwing:
SBAChecker.prototype.trigg
$("#" + this.inputField).unbind("a
$("#" + this.loaderImage).hide();
if (this.inputField == "RecBankBICCode") {
this.unavailable3();
} else {
this.unavailable33();
}
}
my problem is that i cannot get the value of "__this.inputField" in order to use it when SBAChecker.prototype.trigg
how can i do that?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.