add select element in focus
This commit is contained in:
parent
6531926377
commit
d2bb119c4d
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
$(function() {
|
||||
$('input[type="text"]:first', '.login-box,section.content').focus();
|
||||
$('input[type="text"],select', '.login-box,section.content').first().focus();
|
||||
|
||||
$("section.content input").keypress(function(e) {
|
||||
if (e.which == 13) {
|
||||
|
|
Loading…
Add table
Reference in a new issue