ctx: setAttributNode funktioniert nur 1x

Beitrag lesen

Guten Tag liebe Community,

ich habe folgendes Problem:
SourceCode-Ausschnitt:

druck = document.createAttribute("onkeyup");  
druck.value = "Eingabe()";  
  
formular.eingabe1.setAttributeNode(druck);  
formular.eingabe2.setAttributeNode(druck);  
formular.eingabe3.setAttributeNode(druck);  
formular.eingabe4.setAttributeNode(druck);  

Die erste Anweisung mit ~~~javascript setAttributeNode(druckGraph);

  
Mit "Mozilla Firebug" gibt er aus: "InUseAttributeError: Attribute already in use".  
Ich möchte mit setAttributeNode alle <input> felder mit dem einen attribut ergänzen. Bsp:  
~~~html
<input name="eingabe1" onkeyup="Eingabe" />  
<input name="eingabe2" onkeyup="Eingabe" />  
<input name="eingabe3" onkeyup="Eingabe" />  
<input name="eingabe4" onkeyup="Eingabe" />

Problem- und Lösungs-Ansätze und Vorschläge sind sehr erwünscht

lg
ctx

PS.: Logopädie Patient