EDIT: Just to clarify, I did remove the document.write and but it is still having the same effect.
This is the code I am using right now:
<script language='javascript' type='text/javascript'>
function Beginnings() {
document.getElementById("TalkWindow").innerHTML = document.write("<a href '#' onclick='nicetomeetyou();'>Hi John, my name is Jill</a><br>")
}
function nicetomeetyou() {
document.getElementById("TalkWindow").innerHTML = document.write("<a href '#' onclick='Beginnings2();'>Same here</a><br>")
}
function Beginnings2() {
document.getElementById("TalkWindow").innerHTML = document.write("<a href '#' onclick='END();'>Lets do this again, shall we?</a><br>")
}
</script><HTML>
<BODY>
<table>
<tr>
<td> <div id="TalkWindow"> <a href='#' onclick='Beginnings();'>Hello</a> </div>
</td>
</tr>
</table>
But when I click the second option, "Hi John, my name is Jill", it adds "Same here" on a second line and then immediately reloads the page back to "Hello". Any thoughts on what's wrong with the code? Thanks!