G
Guest
ok, it is definately the string... because i convert the original onclick to
a string..
var a = objects[no].onclick;
var b = String(a)
objects[no].setAttribute('onclick', a);
//above works fine
objects[no].setAttribute('onclick', b);
//above doesn't work
If someone can help me work this out, I owe you bigtime!
a string..
var a = objects[no].onclick;
var b = String(a)
objects[no].setAttribute('onclick', a);
//above works fine
objects[no].setAttribute('onclick', b);
//above doesn't work
If someone can help me work this out, I owe you bigtime!