Computer Science, asked by sakshimores23, 2 months ago

onfocus event occurs when an element gets focused true or false​

Answers

Answered by gulnazfatma093
0

Answer:

true

Explanation:

The onblur event occurs when an object loses focus. ... Therefore, if you want to find out whether an element or its child loses focus, you could use the onfocusout event. However, you can achieve this by using the optional useCapture parameter of the addEventListener() method for the onblur event.

Answered by kimrose011
10

Answer:

 \huge \pink{ \fbox{Answer}}

Explanation:

  \huge\underline \red{Question }

✍ᴏɴғᴏᴄᴜs ᴇᴠᴇɴᴛ ᴏᴄᴄᴜʀs ᴡʜᴇɴ ᴀɴ ᴇʟᴇᴍᴇɴᴛ ɢᴇᴛs ғᴏᴄᴜsᴇᴅ ᴛʀᴜᴇ ᴏʀ ғᴀʟsᴇ ??

 \huge \underline \red{Answer}

✍Tʀᴜᴇ

 \green{ \fbox{more \: to \: know \: :D}}

Tʜᴇ ᴏɴʙʟᴜʀ ᴇᴠᴇɴᴛ ᴏᴄᴄᴜʀs ᴡʜᴇɴ ᴀɴ ᴏʙᴊᴇᴄᴛ ʟᴏsᴇs ғᴏᴄᴜs. ... Tʜᴇʀᴇғᴏʀᴇ, ɪғ ʏᴏᴜ ᴡᴀɴᴛ ᴛᴏ ғɪɴᴅ ᴏᴜᴛ ᴡʜᴇᴛʜᴇʀ ᴀɴ ᴇʟᴇᴍᴇɴᴛ ᴏʀ ɪᴛs ᴄʜɪʟᴅ ʟᴏsᴇs ғᴏᴄᴜs, ʏᴏᴜ ᴄᴏᴜʟᴅ ᴜsᴇ ᴛʜᴇ ᴏɴғᴏᴄᴜsᴏᴜᴛ ᴇᴠᴇɴᴛ. Hᴏᴡᴇᴠᴇʀ, ʏᴏᴜ ᴄᴀɴ ᴀᴄʜɪᴇᴠᴇ ᴛʜɪs ʙʏ ᴜsɪɴɢ ᴛʜᴇ ᴏᴘᴛɪᴏɴᴀʟ ᴜsᴇCᴀᴘᴛᴜʀᴇ ᴘᴀʀᴀᴍᴇᴛᴇʀ ᴏғ ᴛʜᴇ ᴀᴅᴅEᴠᴇɴᴛLɪsᴛᴇɴᴇʀ() ᴍᴇᴛʜᴏᴅ ғᴏʀ ᴛʜᴇ ᴏɴʙʟᴜʀ ᴇᴠᴇɴᴛ.

  \underline \mathfrak\purple{hope \: it \: helps \: ♡}

Similar questions