Is there a way to test if a given browser supports the multiple attribute on file upload elements? Either a server-side or client-side implementation is sufficient.
I do realize I can test the user-agent against a list of known browsers that support the feature, but that seems like a rather frail implementation (ie. if IE 10 supports the feature when it finally launches, the I’ll have to go edit back my code). I’d prefer to test support of the feature directly.
Thoughts?
I’d recommend using
"multiple" in document.createElement("input")for feature detection.