एचटीएमएल डोम फोकसइवेंट
फोकसइवेंट ऑब्जेक्ट
घटनाएँ जो तब होती हैं जब तत्व फ़ोकस प्राप्त करते हैं या खो देते हैं, फ़ोकसएवेंट ऑब्जेक्ट से संबंधित होते हैं।
फोकसइवेंट गुण और तरीके
Property/Method | Description |
---|---|
relatedTarget | Returns the element related to the element that triggered the event |
विरासत में मिले गुण और तरीके
फोकसएवेंट इन सभी गुणों और विधियों को इनहेरिट करता है:
घटना के प्रकार
ये ईवेंट प्रकार फ़ोकसएवेंट ऑब्जेक्ट से संबंधित हैं:
Event | Description |
---|---|
onblur | The event occurs when an element loses focus |
onfocus | The event occurs when an element gets focus |
onfocusin | The event occurs when an element is about to get focus |
onfocusout | The event occurs when an element is about to lose focus |