Jump to content

DOM scripting: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Sowlos (talk | contribs)
AfD: Nominated for deletion; see Wikipedia:Articles for deletion/DOM scripting
Line 1: Line 1:
<!-- Please do not remove or change this AfD message until the issue is settled -->
{{Article for deletion/dated|page=DOM scripting|timestamp=20160618060803|year=2016|month=June|day=18|substed=yes}}
<!-- Once discussion is closed, please place on talk page: {{Old AfD multi|page=DOM scripting|date=18 June 2016|result='''keep'''}} -->
<!-- End of AfD message, feel free to edit beyond this point -->
{{Unreferenced|date=January 2009}}
{{Unreferenced|date=January 2009}}



Revision as of 06:09, 18 June 2016

The term DOM scripting refers to programmatically accessing the Document Object Model (DOM). In common usage, DOM scripting implies JavaScript. DOM scripting has its roots in Dynamic HTML (DHTML), but is more structured. It is the third pillar[clarification needed] in the web standards movement.

DHTML vs. DOM scripting

Traditional DHTML:
  • Uses a scripting language and valid markup (HTML/XHTML/XML/etc.)
  • May be browser-specific and require redundant coding for cross-browser support.
  • Is web only
  • Was used with non-standardized markup
DOM scripting:
  • Uses a scripting language and valid markup (HTML/XHTML/XML/etc.)
  • Can be used with any programming/scripting language
  • Aims to be browser independent, is browser independent among standards-compliant browsers
  • Is web only
  • May degrade gracefully