Normally, I would simply use: Obj.property = "value"; But Obj.onclick = "alert('hello world');"; Does not do anything, while Obj.title = "New Title"; Sets the title of obj to "New Title" So the question is, without using the buggy/unsupported "setAttribute" - How do I add this onclick? Thank You, - Jon Hughes