Javascript is not working after the fist postback that because lost the javascript code after postback; that's why please arrange your javascript code in a function. Here is an example of keyup event working for a textbox.
<script language="javascript" type="text/javascript">
function BindEvents() {
$(document).ready(function () {
$("#txtActualPrice").keyup(function () {
//Sample Code...
var discountedAmount = $("#txtActualPrice").val() * ($("#txtDiscountPercentage").val() / 100);
var NetPrice = $("#txtActualPrice").val() - discountedAmount;
$("#txtPrice").val(NetPrice);
});
$("#txtDiscountPercentage").keyup(function () {
$("#txtActualPrice").keyup();
});
});
}
</script>
and t ...
Go to the complete details ...