Browse Source

Update test.html

zhixin 11 years ago
parent
commit
3b54557a5c
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>
     $(function () {
         $('#build').click(build).trigger('click');
+        $('#cells, #rows').keyup(function (e) {
+            if (e.keyCode === 13) {
+                build();
+            }
+        });
     });
 
     function build() {