On Feb 18, 10:28 am, Jeffrey Lee <jlee...@gmail.com> wrote: > So why is it that when Javascript is updating the document, does the source > not show the change? Does show->source merely reflect that which was loaded, > but not the actual current document? Why is that?
View source shows the original HTML used to create a document, subsequent changes to the document do not modify that. It's just how browsrs work, they could show an HTML representation of the current document (the innerHTML property of the HTML element goes pretty close) if they wished. Since there are no standards for converting DOM to HTML, it is almost certain that the innerHTML for a non-trivial document will be different in different browsers. However, you should be able to load the HTML into any browser and see the same document (more or less, there may be some small differences such as default attribute values or style properties). -- Rob -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.