function gb(){
document.all("T1").focus();
var t=document.all("T1").createTextRange();
t.execCommand("select");
t.execCommand("cut");
t.execCommand("paste");
}
<body onload="gb()">
<input type="text" name="T1" size="20" value="aaaa">
</body>
document.all("T1").focus();
var t=document.all("T1").createTextRange();
t.execCommand("select");
t.execCommand("cut");
t.execCommand("paste");
}
<body onload="gb()">
<input type="text" name="T1" size="20" value="aaaa">
</body>
http://webfx.eae.net/dhtml/combobox/combo_demo.htm
Download:
http://webfx.eae.net/dhtml/combobox/ComboBox.zip