3 ms·
> Don’t use JavaScript to create custom input elements like text boxes, combo boxes, or scrollbars. You can style input elements heavily, and in some cases you
by hinkley 6y ago
> Don’t use JavaScript to create custom input elements like text boxes, combo boxes, or scrollbars.
You can style input elements heavily, and in some cases you can shadow them (associate a manufactured UI element with a real input element, and then conceal the real element). In fact for certain interactions you have to do this due to user agent hardening against CSRF attacks.