How can I find out if the browser supports the HTML5 placeholder tag, so I can decide whether to hook my jQuery placeholder plugin or not.
To get a broad idea go to:
http://caniuse.com/#search=placeholder
And to test in the browser you can do:
function supportsPlaceholder() { var i = document.createElement('input'); return 'placeholder' in i; }