Eine Dropdownliste wird automatisch mit Jahren gefüllt.
http://jsfiddle.net/13L235f0/2/
Ausgabe: <option value="1996">1996</option>
Ich benötige noch ein weiteres Attribut: <option value="1996" MEINATRIBUT>1996</option>
Wie bekomme ich dies nach Value und vor dem InnerHtml?
Hat jemand ein Beispiel? Vielen Dank.
http://jsfiddle.net/13L235f0/2/
Ausgabe: <option value="1996">1996</option>
Ich benötige noch ein weiteres Attribut: <option value="1996" MEINATRIBUT>1996</option>
Wie bekomme ich dies nach Value und vor dem InnerHtml?
Hat jemand ein Beispiel? Vielen Dank.