I just want to load an html page in iframe on clicking a link or button in the same page. I used javascript to load the page dynamically. But, I couldn't do that. Please anyone guide me to do that. My code is as follows:
document.getElementById("iframeelem").src="newhtml.jsp";
See Question&Answers more detail:os