T
tfs
How do I set a field on my screen to get focus when the page opens?
Thanks,
Tom
Thanks,
Tom
tfs said:How do I set a field on my screen to get focus when the page opens?
Thanks,
Tom
tfs said:How do I set a field on my screen to get focus when the page opens?
Thanks,
Tom
action="TMPluy1i8bi.aspx" id="_ctl1"><script language="JavaScript" >
document.getElementById("tfPassword").focus();
</script>
<div align="center">
<p><span class="HeaderText">Please enter the password to process
these pages</span></p>
<form name="_ctl1" method="post"
value="dDwtMTU3MDA0ODk5NDs7PhcziXEHc3pyzzr86qHlt50NG4LD" /><input type="hidden" name="__VIEWSTATE"
<table width="230" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35%"
class="BodyText">Password: said:<td width="65%"><input
name="tfPassword" type="text" id="tfPassword" /> said:</tr>
-----Original Message-----
Check out this faq,
http://www.extremeexperts.com/Net/CodeSnippets/SettingFoc ustoElementAfterPos
tback.aspx
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com
How do I set a field on my screen to get focus when the page opens?
Thanks,
Tom
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------------------------------------------- ---
------------------------------------------------------- ---
color]
.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.