Menu
HTML is not a programming language. Change my mind.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Onkeydown Memes
Posts tagged with Onkeydown
Use OnBlur Not OnKeyDown
Frontend
Javascript
Programming
Webdev
12 months ago
292.3K views
0 shares
Ah, the classic "passwords don't match" error that appears before you've even finished typing. It's like having a backseat driver for your form inputs. This is precisely why frontend devs invented the onBlur event instead of onKeyDown for validation. One patiently waits until you're done with the field, the other screams at you while you're still thinking. It's the digital equivalent of someone finishing your sentences incorrectly, then calling you wrong. The rage is justified. Form validation timing is the hill many users are willing to die on at 4:54 AM.
Today's picks
LG Ultrafine 27US500-W 27" 4K UHD (3840×2160) Monitor (White) | IPS Display, HDR10, 60Hz, 90% DCI-P3 Gamut, Anti-Glare Screen, Tilt Stand, HDMI & DisplayPort - Bundle
Affiliate
$262.95
GearScouts.com
Sponsored
Power stations
The Code Is More Like Guidelines Than Actual Rules
Linux
78.3K views
2 years ago