<input type="text" id="text" onkeypress="var that = this; clearTimeout(this.timer); this.timer = setTimeout(function(){that.nextSibling.nodeValue = that.value;}, 1000);"> <br>