this.attributes.add not working
Hi - I've added the following to my webpart
this.attributes.add("onmousedown","bob()");
and this to render()
this.attributes.addattribute(writer);
The attribute gets rendered in the source code but for some reason is added to the webn part below, so when I mousedown on the webpart below mine the javascript function bob() gets called. Am I doing something wrong?
|