Mam bardzo dziwny problem z Chrome. Ma jakieś problemy z linijką 2 w poniższym kodzie:
Kod
if ( !eventHandle ) {
elemData.handle = eventHandle = function( e ) {
// Handle the second event of a trigger and when
// an event is called after a page has unloaded
return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
jQuery.event.handle.apply( eventHandle.elem, arguments ) :
undefined;
};
}
elemData.handle = eventHandle = function( e ) {
// Handle the second event of a trigger and when
// an event is called after a page has unloaded
return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
jQuery.event.handle.apply( eventHandle.elem, arguments ) :
undefined;
};
}
w bibliotece jQuery.
Link do formularza
Po wysłaniu formularza w Firefoxie wszystko zachowuje się tak jak powinno, czyli podświetla na czerwono inputy, w Chrome nie stosuje prewencji dla domyślnej akcji submit i właściwie nic się nie dzeje, oprócz tego "błędu" w bibliotece.