Hello
i wanted to alter an onClick behavior of some buttons on a site by changing what the onclick function does. the function is called cmdItemOpen so i wrote the following code
cmdItemOpen = function(){
//my new code
}
this seemed to have had the desired effect. but then suddenly the behavior returned to the original one. i've done some testing and it seems that the rest of the script runs ok, except for the function reasigning part. to test i put some alerts throughout the script and they run except the one in my cmdItemOpen function. any thoughts on why this happens and how this could be fixed? thanks.