>$(document).delegate(':input','keypress',function(e){ > if (this.id == 'whatever') { > document.forms[0].submit(); // or something like that. > } >}) >