4 ms·
I'm a vanilla-js guy. That cookbook is pretty good. If anybody has a good way of doing a password dialog in vanilla-js, please post a link. It's the one thin
by redis_mlc 7y ago
I'm a vanilla-js guy.
That cookbook is pretty good.
If anybody has a good way of doing a password dialog in vanilla-js, please post a link.
It's the one thing I've encountered where I wish I had used a framework.
- 101008 7y agoSorry, what's a password dialog?
- omgwtfbbqhihihi 7y agoA dialog box that prompts for your password. Never seen one?
- satvikpendem 7y agoLike <input type="password">? Or something more complex?
- ken 7y agoThat’s a password field. Now just put it in a <dialog>.
- satvikpendem 7y agoWhat's the problem exactly? I assume you looked into putting that input element inside a dialog element and it didn't work, is that the issue?
- redis_mlc 7y agodialog is not supported on Firefox and Safari without a polyfill.
- draw_down 7y agoTurns out those stupid things come in handy sometimes!
- austincheney 7y agoI have never used the dialog HTML element before, but I was playing around with adding an input type="password" this morning inside a HTML dialog and didn't see any problems.
- edflsafoiewq 7y agoSend a 401 (let's call this "vanilla-http").