View Single Post
  #1 (permalink)  
Old June 17th, 2008, 03:23 AM
millerthegorilla millerthegorilla is offline
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote