%PDF- %PDF-
Direktori : /proc/309157/task/309157/root/usr/share/javascript/modernizr/feature-detects/ |
Current File : //proc/309157/task/309157/root/usr/share/javascript/modernizr/feature-detects/forms-placeholder.js |
// testing for placeholder attribute in inputs and textareas // re-using Modernizr.input if available Modernizr.addTest('placeholder', function(){ return !!( 'placeholder' in ( Modernizr.input || document.createElement('input') ) && 'placeholder' in ( Modernizr.textarea || document.createElement('textarea') ) ); });