Hello,
Can someone tell me the proper way to execute helloThere() from the parent function getHelloThere()? This code is not working for me...
index.html
--------------
<script>
function getHelloThere()
{
document.getElementById('div1').helloThere();
}
</script>
<div id="div1">
<script>
function helloThere()
{
alert('Yahtzee');
}
</script>
</div>
All suggestions are appreciated.


Reply With Quote

Bookmarks