Tuesday, July 29, 2008

innerText, innerHTML, outerHTML

The below links help us understand better on how to access data using Javascript.

Link-I

Link-II

Link-III

How to get the html source of a jsp page and set it to a property of a form?

var htmlSource = document.getElementById("htmlSource");
htmlSource.value = document.documentElement.outerHTML;

No comments: