onclick

wxdqz

New Member
In the JavaScript I'm writing I need to change the .onclick properties of some images. From what I understand, the syntax is:

document.getElementById('asdf').onclick=function;

But I need 'function' to use some parameters, and when I included those, it gave an error that said it wasn't implemented or something.

Does anyone know how to do this? Thanks.

Alan.
 
Back
Top