Providers Web Programming
Tuesday, February 11, 2014
Setting focus/highlighting a field
input onfocus="this.select();" This selects field when the field receives focus
or
document.getElementById("fieldName").select(); This highlights field
document.getElementById("FieldName").focus(); Just sets focus to field.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment