hi
very simple but I can't seem to get an onfocus event to work - changing the background colour of a text box.
function setStyle(x)
{
document.getElementById(x).style.background="yellow";
}
and then the following in the td tags
onfocus="setStyle(this.id) id="iprange"
Any help gratefully received.
very simple but I can't seem to get an onfocus event to work - changing the background colour of a text box.
function setStyle(x)
{
document.getElementById(x).style.background="yellow";
}
and then the following in the td tags
onfocus="setStyle(this.id) id="iprange"
Any help gratefully received.