HTML5 Forms

Chris Coyier stellt eine nette Methode vor HTML5 Formulare mit JavaScript auch älteren Browsern feature complete anzubieten.

Der “Trick” ist Yepnope.js und Modernizr.

Yepnope is a “script loader” which will load scripts conditionally. You give it some kind of boolean value (true or false), if it’s true, it’ll load one set of scripts (or css), if it’s false, a different set. Where do we get that boolean value? From testing a feature with Modernizr.

Die Kombination von Yepnope und Modernizr sieht recht vielversprechend aus.

Possibly related posts (automatically generated)