C
Craig
Hi,
What I'm trying (quite poorly) to do is make it so when a link is clicked the
text inside a div or p changes.
I've tried numerous things, most of which work in IE but none of which work in
gecko browsers e.g. Mozilla, Netscape, Epiphany etc etc.
This is what I have now and works fine in IE but sits there doing nothing in
anything else:
<script type="text/javascript">
function changeText()
{
document.all.div_or_p_id.innerText = "blahblah";
}
</script>
Can anybody help me with this?
Thanks,
Craig.
What I'm trying (quite poorly) to do is make it so when a link is clicked the
text inside a div or p changes.
I've tried numerous things, most of which work in IE but none of which work in
gecko browsers e.g. Mozilla, Netscape, Epiphany etc etc.
This is what I have now and works fine in IE but sits there doing nothing in
anything else:
<script type="text/javascript">
function changeText()
{
document.all.div_or_p_id.innerText = "blahblah";
}
</script>
Can anybody help me with this?
Thanks,
Craig.