mercredi 25 février 2015

Does display: none disable an ?

I've experienced before the phenomenon that if an <input> tag has the CSS property display: none, then its value isn't submitted with its parent form. I'm now in the curious situation where that behaviour is helpful!


Can I rely on display: none disabling a form input, or is it technically a deviation from the spec?


Aucun commentaire:

Enregistrer un commentaire