Jul 13, 2011

How to set control visible in Java script

function displayRow1()
{
if (document.form1.ddlstatus.value == "Select")
{
document.all.item('trdor').style.display = "none";
}
if (document.form1.ddlstatus.value == "Working")
{
document.all.item('trdor').style.display = "none";
}
if (document.form1.ddlstatus.value == "Resigned")
{
document.all.item('trdor').style.display = "";
document.form1.txtDOR.focus();
document.form1.txtDOR.select();
}
}

No comments:

Post a Comment

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...