HI,
I am using jsgraph to draw some graphs. I want to be able to update
these graphs by calling a javascript function to update data.
I have a div to display the graph that looks like this:
<div id = 'div1'>
<script language="JavaScript">
<!--
graph3.makeGraph();
//-->
</script>
</div>
What I would like to do is from another javascript function
document.getElementById('div1').innerHTML = graph3.makeGraph();
but this does not work. Is there a way to output a javascript object
to a div?
Thanks.
Kevin