B
bob
Hi,
consider this script:
<script>
function doIt()
{
alert("ok")
}
document.onclick=doIt // or document.onclick=doIt()
</script>
Generally, does it make a difference when there is no parameter to pass?
And when there is a parameter to pass?
Thanks
bob
consider this script:
<script>
function doIt()
{
alert("ok")
}
document.onclick=doIt // or document.onclick=doIt()
</script>
Generally, does it make a difference when there is no parameter to pass?
And when there is a parameter to pass?
Thanks
bob