jumpenjuhosaphat Posted February 6, 2007 Share Posted February 6, 2007 If I use HTML DOM, is an enabled browser side script necessary? In other words, can I use DOM without javascript enabled? Is it possible to create HTML pages that are dynamic without use of browser side scripting? Quote Link to comment Share on other sites More sharing options...
fenway Posted February 6, 2007 Share Posted February 6, 2007 How can it be dynamic without it changing? Quote Link to comment Share on other sites More sharing options...
obsidian Posted February 6, 2007 Share Posted February 6, 2007 How can it be dynamic without it changing? Indeed. In light of the first question, if you want to get technical, you are using the DOM (Document Object Model) in some sense simply by generating an HTML page. However, the dynamic aspect of anything requires that something act upon that structure. Quote Link to comment Share on other sites More sharing options...
jumpenjuhosaphat Posted February 6, 2007 Author Share Posted February 6, 2007 How can it be dynamic without it changing? I don't get it, without what changing? HTML DOM, as I understand it(which is very limited, that's why I'm asking), is a technology defined by the w3 consortium that is browser and platform independent, and doesn't depend on any other technologies to make use of it. In other words(my understanding), it is an extension to HTML that allows your document to be dynamic. So, to reiterate my question, am I understanding that correctly? Quote Link to comment Share on other sites More sharing options...
obsidian Posted February 6, 2007 Share Posted February 6, 2007 Yes, you are correct in your definition of the DOM. This page on W3Schools gives a good overview of what the DOM itself is, however, in and of itself, it does nothing. It gives you a foothold to be able to use other scripting languages to manipulate the DOM and create dynamic effects. So, if you create an HTML page, as I stated before, you are indeed using the DOM; however, this does not give you any dynamic capabilities in and of itself. Javascript (and other client side scripting languages) then can make use of the DOM to alter the appearance of object on the page. It is, in fact, the scripting languages that provide the dynamic element of the page. Does that help? Quote Link to comment Share on other sites More sharing options...
jumpenjuhosaphat Posted February 6, 2007 Author Share Posted February 6, 2007 Yes, that does help. Thank you. I've been searching for that answer for a couple of hours now, and that's the most definitive I've yet to hear. Plus you cleared up what DOM is, it makes better sense now. Again, thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.