function DoHighlight(id) {
var item = document.getElementById(id);
item.select();
//onclick="this.select()"
}
How do I test to see if the field is highlighted first....
If not then highlight it
else
Unhighlight (... take off highlight and just position the cursor)
if (item.select())
item.unselect()
else
item.select() ??????????????????????
var item = document.getElementById(id);
item.select();
//onclick="this.select()"
}
How do I test to see if the field is highlighted first....
If not then highlight it
else
Unhighlight (... take off highlight and just position the cursor)
if (item.select())
item.unselect()
else
item.select() ??????????????????????