posted 19 years ago Hi here I'm using onFocus event on a textbox which will call the following function:
function clearDateField(fieldName)
{
if (document.getElementById(fieldName).value == "mm/dd/yyyy")
{
document.getElementById(fieldName).value = "";
}
document.getElementById(fieldName).focus();
return true;
}
The problem is it is making foucs on the textbox after I press TAB key but it is not showing the cursor. Only if I type something then only the cursor is coming....
How to make the cursor visible after pressing the Tab key from the previous field?
Regards,
Debashree
Debashree Halder<br />SCJP 1.5<br />Washington DC