Browse Source

Update test.html

zhixin 11 years ago
parent
commit
449419d1ea
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docs/test.html

+ 5 - 0
docs/test.html

@@ -26,6 +26,11 @@
 <script>
 <script>
     $(function () {
     $(function () {
         $('#build').click(build).trigger('click');
         $('#build').click(build).trigger('click');
+        $('#cells, #rows').keyup(function (e) {
+            if (e.keyCode === 13) {
+                build();
+            }
+        });
     });
     });
 
 
     function build() {
     function build() {