javascript - How to guess browser compatibility based upon DOM Level? -
What is a simple rule - to find out which browser version and upwards to a given DOM level Will happen?
You can use the feature detection:
- DOM-Events Level 2
- DOM-Core Level 2: document.implementation.hasFeature ("Core", "2.0"))
- Tom-Expat Level 3: Document.LimalingFotcher ( "XPath", "3.0")
Camp 1: Geoko (Firefox, Mozilla), WebKit (Safari, Chrome), Presto- (Opera) browsers support DOM Core / Event / XPath Level 2 supports some of them level level 3.0
Camp 2: Trident-based (Internet One Splorr) supports DOM Level 0 (which is not standard)
Hope this helps.
Ajax is a GUI framework that enables DOM level 2/3 in Internet Explorer as well as re-implementing it in other browsers.
Comments
Post a Comment