posted 18 years ago
Thanks for the reply. I have tried your suggestion, however it seems that it will not work for me as it tries to evaluate the parameters of the function when it is run. I need the parameters to be evaluated when the events are being set and the function run when the event occurs, looking at the following piece of code might explain further what im trying to do.
The function below takes the tag and the class you are using and changes all of their onclick events to perform a specific action. I have also tried using evall(elems[i].id), but this will make all of the ids equal to the last one passed.
(p.s. the kk on the onclickk and ll on evall are because it wouldnt let me submit the post)
Thanks,
Reza