Side navigation
#8657 closed bug (invalid)
Opened March 26, 2011 04:01PM UTC
Closed March 26, 2011 04:43PM UTC
Last modified March 14, 2012 03:43PM UTC
Not work under IE8
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.5.2rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi, I try the jquery-1.5.2rc1.js with jquery-mobile in my project, under IE8.
found an exception when a call from jquery.mobile-1.0a4pre.js at line 1828:
$( window.document.activeElement ).add( "input:focus, textarea:focus, select:focus" ).blur();
and the exception throw from jquery-1.5.2rc1.js at line 4039:
filter: { PSEUDO: function( elem, match, i, array ) { var name = match[1], filter = Expr.filters[ name ]; if ( filter ) { return filter( elem, i, match, array ); } else if ( name === "contains" ) { return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0; } else if ( name === "not" ) { var not = match[3]; for ( var j = 0, l = not.length; j < l; j++ ) { if ( not[j] === elem ) { return false; } } return true; } else { Sizzle.error( name ); <<========== line == 4039 == } },
and from the IE internal debugger, the var name's value is 'focus'
is that jquery 1.5.2 not support 'focus'?
can anyone give help?
:focus is not a selector currently supported by jQuery core, though it is planned to be included in jQuery 1.6. I'm thinking this is more of a jQuery Mobile issue - can you open up a ticket on the jQuery Mobile issue queue? That would truly be excellent. Thanks for your time and interest in helping the jQuery project!