hasAttribute
กำหนดองค์ประกอบ:
<input id="elem" value="text">
ตรวจสอบว่ามีแอตทริบิวต์ value หรือไม่
value