mmm mi sa che stai a fare casino per niente. Perché non metti la funzione sugli elementi input?

codice:
window.onload=  function(){
   var inpts = document.getElementsByTagName("input");
   for(i = 0; i < inpts.length; i++){
      inpts[i].onkeydown = function(e){
          var evt = window.event ?  window.event : e;
          if(evt.keyCode == 13){
             return false;
          }
          return true;
      }
   }
}
Dovrebbe andare.

N.B l'invio del tastierino numerio a un altro keyCode, non mi ricordo quale però...