Hack Forums
[Javascript] Blur function? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Javascript] Blur function? (/showthread.php?tid=6253965)



Blur function? - Z3R00NDAT - Oct 15, 2023

What is the use of the blur function and how is it used?


RE: Blur function? - Disease - Oct 16, 2023

(Oct 15, 2023 12:36 PM)Z3R00NDAT Wrote:  What is the use of the blur function and how is it used?

When an HTML element has keyboard focus (i.e. it's the active element that can be typed into/interacted with via the keyboard), it has just that, focus. The blur() function removes said focus.


RE: Blur function? - bumperjumper - Oct 17, 2023

I'm rather curious why you wouldn't just Google this?


RE: Blur function? - Disease - Oct 17, 2023

(Oct 17, 2023 02:53 PM)bumperjumper Wrote:  I'm rather curious why you wouldn't just Google this?

You'll drive yourself nuts if you find yourself asking this question with 90% of the questions posed here, or on any forum/Q&A site.