I have a situation where event.target is returning undefined.
I have JavaScript in the preSubmit event that was not firing when clicking the Save button in Workspace. I tracked down that this button through the Form Bridge calls saveXML. The code I need run alters the XML so I still need it run before saving. I added a call to execute the preSubmit event prior to the saveXML line. My code failed as I found out because when using event.target in the preSubmit event, it is undefined when called from teh Form Bridge code.