javascript - display:none with required causes broken submit behaviour - how to fix? -
i have select tag display:none , required both on:
there no browser works properly: ie ignores required attribute, , submits anyway. firefox draws bubble asking user fill in select in upper left corner of page. chrome nothing - submit not go through, expected required, not draw bubble anywhere.
is there way around this? desired behaviour identical when display not none: draw bubble asking user fill in select @ select (although display none, naturally appear point @ else - typically next visible element).
specifically, have javascript-driven widget handling multiselect ui, , wonderful if bubble draw correctly, pointing @ widget.
Comments
Post a Comment