Actualmente estoy usando esto
Código:
las dos formas funcionan pero no en IExplorer..onfocusenter="javascript:this.form.form1.focus();this.form.form1.select();"
Código:
<SCRIPT LANGUAGE="JavaScript">
function seleccionar(campo)
{
var tempval=eval("document."+campo);
tempval.focus();
tempval.select();
//therange=tempval.createTextRange()
//therange.execCommand("Copy")
}
</script>

