I have a small calculator that I\'m adding to my html. It has a few dropdowns to select stuff and when a person hits a submit button, I\'d like to display a picture below th
You need a placeholder element for your output. Then set the innerHTML for that element:
then:
document.getElementById('answer').innerHTML = "answer is:" + yourdata