You can use Modernizr , which makes a huge amount of these tests for you.
In this case, the test is very simple:
if (typeof document.createElement('input').multiple !== "undefined") { // ... yes, it has it }
The same applies to all other new element properties.
source share