<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Ext GWT 2.1.1 Explorer</title>
</head>
<body style="overflow: hidden">
<div id='xx''>
<input id='1' type="text" value="1111" style="color: #aaa " οnfοcus="get1() " οnblur='get2()'>
<input id='2' type="text" value="" style="color: black " >
</div>
<script type="text/javascript">
function get1(){
var in1=window.document.getElementById("xx").getElementById("1");
alert(in1);
in1.style.color='red';
}
function get2(){
//alert("1");
var in1=window.document.getElementById("1");
in1.style.color='black';
}
</script>
</body>
</html>
<html>
<head>
<title>Ext GWT 2.1.1 Explorer</title>
</head>
<body style="overflow: hidden">
<div id='xx''>
<input id='1' type="text" value="1111" style="color: #aaa " οnfοcus="get1() " οnblur='get2()'>
<input id='2' type="text" value="" style="color: black " >
</div>
<script type="text/javascript">
function get1(){
var in1=window.document.getElementById("xx").getElementById("1");
alert(in1);
in1.style.color='red';
}
function get2(){
//alert("1");
var in1=window.document.getElementById("1");
in1.style.color='black';
}
</script>
</body>
</html>