Menu
Hi.
I have a script as an include and it’s included on the page.
<script language=javascript src=”Focus.js”></script>
I would like to pass control name to that included script so that I could reuse the script on other forms.
The script looks like this.
var control = document.getElementById(“UserName”);
if( control != null )
{
control.focus();
}
Thanks,
Andy