diff --git a/jquery/jquery.js b/jquery/jquery.js index fe42cac5..cfac542b 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -423,7 +423,7 @@ $.clean = function(a) { $.g = { '': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()", - '#': "a.attributes['id'].nodeValue == m[2]", + '#': "a.getAttribute('id') && a.getAttribute('id').nodeValue == m[2]", ':': { lt: "i < m[3]-0", gt: "i > m[3]-0",