$('#<%= ddl.ClientID %>').change(function () {
var selectedvalue = $(this).val();
if (selectedvalue == 1) {
$("#divContractorName").show();
}
else {
$("#divContractorName").hide();
}
});
<div id="divContractorName" class="wd33percommuNew lFloat " style="display: none;">
Hello world
</div>
var selectedvalue = $(this).val();
if (selectedvalue == 1) {
$("#divContractorName").show();
}
else {
$("#divContractorName").hide();
}
});
<div id="divContractorName" class="wd33percommuNew lFloat " style="display: none;">
Hello world
</div>
No comments:
Post a Comment