Forum Moderators: open
You can place alert(); statements before the line outputting parameters/variables and values to see where the error might be.
An example:
<script>
function testAlert(myParameter){
alert("myParameter = "+myParameter);
//then do other stuff relating to the function
}
</script>
<body>
<a id="myAnchorTag" href="javascript:myAlert(this.id)">Test alert</a>
</body>
Its a case of debugging your current javascript and finding where the error might exist.
Is your function inline with the HTML or external to the HTML? As this can cause a problem with looking for line numbers affected!
HTH,
-George