hasAttribute
Jepet elementi:
<input id="elem" value="text">
Kontrolloni nëse ai ka atributin value.
value