JSFiddle - React, Tailwind, and code Playground
HTML
<form id="test">test</form>
JavaScript
// throws "Member not found error" on IE10 compatibility mode
try {
$('#test').attr('novalidate', 'novalidate');
}
catch (e) {
alert(e.message);
}