I'm creating a function in javascript that is activated by an onclick and I just need a simple line of javascipt code to link to another html page.
<area shape="rect" coords="78,348,182,395" onclick="nextquestion">
user clicks on that area
function nextquestion(){
window.location="contact.html";
}
links to this function
onclick="nextquestion();"<area shape="rect" coords="78,348,182,395" href="contact.html">would be a whole lot easier.