aboutsummaryrefslogtreecommitdiff
path: root/content/post/2008-10-11-tabbing-through-fields-vertically.markdown
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--content/post/2008-10-11-tabbing-through-fields-vertically.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/post/2008-10-11-tabbing-through-fields-vertically.markdown b/content/post/2008-10-11-tabbing-through-fields-vertically.markdown
index 2ca859d..7b72484 100644
--- a/content/post/2008-10-11-tabbing-through-fields-vertically.markdown
+++ b/content/post/2008-10-11-tabbing-through-fields-vertically.markdown
@@ -11,6 +11,8 @@ tags:
Sometimes it’s useful to switch the browser’s default tabbing behavior (left to right) to the opposite (top to bottom) when your input fields are in a grid layout instead the of the usual single column layout. Having to do this manually is a real pain, especially for large grids; So here is a solution in javascript, using mootools:
+<!--more-->
+
```javascript
window.addEvent('domready', function(){
var trs = $$('#mytable tr')