Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Set UI Focus on the First Field of a Form
How do I set the focus to the first form field?
✍: FYIcenter
You cannot do this with HTML. However, you can include a JavaScript after the form that sets the focus to the appropriate field, like this:
<input type="text" id="myinput" name="myinput" ...>
</form>
<script type="text/javascript">
document.myform.myinput.focus();
</script>
2007-03-03, 6143👍, 0💬
Popular Posts:
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]? a[i] == *...
How To Call a Sub Procedure? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions To...
When does the compiler not implicitly generate the address of the first element of an array? Wheneve...
What is test metrics? Test metrics accomplish in analyzing the current level of maturity in testing ...
How can method defined in multiple base classes with same name be invoked from derived class simulta...