How can I check if a user has selected something from a field in HTML5?
I see doesn\'t support the new
The element does support the required attribute, as per the spec:
Which browser doesn’t honour this?
(Of course, you have to validate on the server anyway, as you can’t guarantee that users will have JavaScript enabled.)