Hello,
Plz i need help in the code below.
I keep getting this error"Microsoft JScript runtime error: Object required' BECASUE OF A LABEL CONTROL that i want to hide OnBlure event
Here's the code:
<script type = "text/javascript">
function WatermarkBlur(txtElem, strWatermark) {
if (txtElem.value == '') {
txtElem.value = strWatermark;
txtElem.className = "watermark";
var lbl = document.getElementById("<%=lblInstructions.ClientID %>");
if (lbl.style.display == 'inline') {
txtElem.disabled = true;
lbl.style.display = "block";
}
}
else
txtElem.className = "normal";
}
</script>
...
Go to the complete details ...