I can go into the element inspector and manually add my code and it works so I know that's not the issue. Please fix! :D
Search the forums."On" events are disabled in BSS by the developers for security reasons (I think.) I don't understand why they do this, but it's been discussed before.
I spoke too quickly. We added support for on attributes in version 5.0.3 which was just released :)