Header Ads

javascript function "visibile Invisible()"

Javascript function:
--------------------
function enabledDisabled(chkBox,form)
{
if(chkBox.checked)
{
form.enableTxtBox.disabled=false
}
else
{
form.enableTxtBox.disabled=true
}
}

function visibleInvisible(chkBox,form)
{
if(chkBox.checked)
{
form.visibleTxtBox.style.visibility="visible"
}
else
{
form.visibleTxtBox.style.visibility="hidden"
}
}

No comments:



Powered by Blogger.