Dear kimberly,
Please use following code
$("#drpSex").change(function()
{
if(this.value== 'female')
$('#txtMaternityDays').removeAttr("disabled");
else
$('#txtMaternityDays').attr("disabled", "disabled");
}
$(document).ready(function() {
jQuery("#txtMaternityDays").blur(function() {
if(this.val() == "")
{
alert("You must need to fill Maternity Days");
this.focus();
}
});
});
Thanks,
Imdadhusen