title: Focus the next input with down arrow key (as with the tab key)
body: <p>I have a huge entry form  and  fields for the users to  input.</p>
  
  <p>In the form user use tab key to move to next feild,there are some hidden fields and  readonly textboxes in between on which tab key is disabled using javascript.</p>
  
  <p>Now users finds difficult to use tab key and wants same functionality on down arrow key of the keyboard.</p>
  
  <p>I was using the below code to invoke the tab key code on js but not working,please some body help me on this.</p>
  
  <pre><code>function handleKeyDownEvent(eventRef)
  { 
   var charCode = (window.event) ? eventRef.keyCode : eventRef.which;
  
   //alert(charCode);
  
   // Arrow keys (37:left, 38:up, 39:right, 40:down)...
   if (  (charCode == 40) )
   {
  
    if ( window.event )
     window.event.keyCode = 9;
    else
     event.which = 9;
  
    return false;
   }
  
   return true;
  }
  
  &lt;input type="text"   onkeydown=" return  handleKeyDownEvent(event);" &gt;
  </code></pre>