[jQuery] Improvements jQuery.support
I found this website which has done a great job writing some detection
functions for some of the new html5 capabilities. Perhaps this is
something that could be added to jQuery.support? I don't know the
policies for inclusions, perhaps it's something you rather see people
include themselves. However, I thought I'd post a notice here in case
it hasn't been discovered already:
http://diveintohtml5.org/detect.html#input-types
one example:
function supports_input_placeholder() {
var i = document.createElement('input');
return 'placeholder' in i;
}