ChrisB: Element ohne Attribut selektieren

Beitrag lesen

Hi,

ich möchte alle Texteingabe-Elemente (<input>) selektieren. Dazu möchte ich sowohl mit Attribut (type="text"), als auch ohne (weil eben default) selektieren.

Mit Attribut: input[type=text] {...}

Ohne Attribut: ??

input:not([type]) { … }

Getestet in aktuellem Chrome & Firefox, Opera 12 und IE (funktioniert in >= 9).

MfG ChrisB

--
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/