hey,
Can anybody tell me that how can I render HTML inside the Div element?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dhaval PatelPosted Nov 11, 2011, 7:48 AM
are you want to render html inside div element
var req = new XMLHttpRequest();
req.open("GET", "page.html", false);
req.send(null);
var page = req.responseText;
document.getElementById("your div").innerHTML = page.
Akash AhlawatPosted Nov 17, 2011, 10:52 PM
Akash AhlawatPosted Nov 11, 2011, 6:59 AM
Scott LyslePosted Nov 11, 2011, 12:20 AM