Sprawdzanie obecności atrybutów w JavaScript
hasAttributeЗадание 1
Dan element:
html<input id="elem" value="text">
Sprawdź obecność atrybutu value.