質問編集履歴
1
不要なソースコードの項目の削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -95,39 +95,3 @@
|
|
95
95
|
</html>
|
96
96
|
|
97
97
|
```
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<script>
|
102
|
-
|
103
|
-
$('input[type=text]:first').focus();
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
$('input[name^="card_number"]').keyup(function() {
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
var n = $("input").length;
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
if ($(this).val().length >= $(this).attr('maxlength')) {
|
116
|
-
|
117
|
-
var nextIndex = $('input').index(this) + 1;
|
118
|
-
|
119
|
-
if(nextIndex < n) {
|
120
|
-
|
121
|
-
$('input')[nextIndex].focus();
|
122
|
-
|
123
|
-
}
|
124
|
-
|
125
|
-
}
|
126
|
-
|
127
|
-
});
|
128
|
-
|
129
|
-
</script>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
</html>
|