intenta crear una funcion que te lo haga en todas...
Código HTML:
<script>
function cambiaColor(obj){
eval("document.getElementById('td"+obj.name+"').style.background = '#FF0';");
}
</script>
<input type="text" name="pepe" onfocus = "cambiaColor(this);" />
<table>
<tr><td id="tdpepe">
...
fijate que cambie el nombre del TEXT...espero te funcione! suerte!