Can I please have some help to call a function that is created in Javascript when a reference is made to a DIV in HTML.
Here is my function:
function testFunction()
{
alert("Test");
}
I would like the testFunction to be called when the following reference is made in HTML:
<div id="testFunction">
Can I please have some help to do this?