I updated my application with a newest jQuery Version (1.9.1). According the release update, the .live() method was discontinued and removed from 1.9+ jQuery versions. The new resource is now the .on(), with the same syntax.
Early, I've wrote the jQuery code below:
jQuery("#addressTypes ul li input[type=text]").live('blur', function () {
var item = {
addressType: jQuery("#addressTypes ul input[type=text]").val(),
idAddressType: jQuery("#addressTypes ul input[type=text]").parent().attr("id")
}
submitUpdateAddressType(item);
});
This code works on older versions, but stopped working with the jQuery update.
Can someone help me? Remembering that the item jQuery("#addressTypes ul li input[type=text]")
cannot be changed due to business issues.