html5Forms.js
html5Forms.js copied to clipboard
range throws error when not in a form
I have found a bug when a range input is not within a form.
I have fixed it by adding to this line as below: parentForm = DOMHelpers.getAncestorByTagName(node, 'form');
parentForm = DOMHelpers.getAncestorByTagName(node, 'form') || document.body; //fallback to document.body - which works - yey