this is the working example: http://jsfiddle.net/trustweb/sTSMW/
i notice an errore using safari 5.05
if i set a form as in an html5 page and i repleace th
actually i did't find how to do just with modernizr, so i implemented this check:
var browser=navigator.userAgent.toLowerCase();
if (browser.indexOf("safari") != -1 && browser.indexOf("chrome") == -1) browser='safari';
yepnope(
{
test : Modernizr.inputtypes.email && Modernizr.input.required && Modernizr.input.placeholder && browser!='safari',
nope : 'javascript/webforms_home.js'
});