I am using ASP.NET 4.5 to develop my application. In my application I have a dropdownlist (DDL) and some textbox controls. The textbox controls are holding some numeric values. There are some calculations depending upon the values in the textboxes and calculation will occur when any of the controls go out of focus. I have used the blur
event for this purpose:
$("#MainContent_txtQty").blur(function () {
alert('1');
var Qty = $("#MainContent_txtNewQty");
}
$("#MainContent_txtRate").blur(function () {
alert('1');
var Qty = $("#MainContent_txtNewQty");
}
However when I change the DDL item the blur is not working. I have placed all my controls inside an update panel.