select the next inputbox  [ 939 views ]

Goal: jump to the next inputbox

there is a simple jumper function:

function nextInput(){
  var a = $("input[type!=hidden]"),
      i = a.index(document.activeElement)+1,
      b = a[i].focus();
};

jQuery is in the background!

#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }