3.2.0

How do I select / highlight all text in AW.Templates.Input?

How do I select all text in AW.Templates.Input? In a plain HTML INPUT Form, I can do the following:

<input name="username" type="text" id="username" value="Copy of demouser1">

<script>
function highlight(field) {
field.focus();
field.select();
}
highlight(document.myform.username);
</script>

Thanks in advnace,
Michael
Michael
July 10,
this works
asha
February 22,
this works
asha
February 22,

This topic is archived.

See also:


Back to support forum