search for: supportswildcards

Displaying 1 result from an estimated 1 matches for "supportswildcards".

2005 Nov 24
1
Extended $ function called $$
...sary. msie supports getElementsByTagName // but fails when passing in "*" for some versions. Safari fails too. // Because of this, we need to walk DOM for failures. // for now, I''ve set it to false but the bracketed part could be a test // for browser compatibility. var supportsWildcards=( false ) var elements=[]; // this code doesn''t work with all browsers though my guess is that it is faster. // Since I don''t know which browsers work, I''m going to let the community tell me // and simply assume it doesn''t work anywhere for now. if...