-1
rated 0 times
[
1]
[
2]
/ answers: 1 / hits: 24214
/ 11 Years ago, fri, april 12, 2013, 12:00:00
I tried this code but its not working; when I on-focus textbox it shows an error:
function ChangeBgColor(obj, evt)
{
if(evt.type=="focus")
style.background ="lightgrey";
else if(evt.type=="blur")
{
style.background="white";
}
}
More From » html