Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 1
Registered: ‎11-10-2009
My Device: Not Specified

window.event.srcElement not working

I have a 4.7 browser and this line of javascript is not returning anything...


var firingId = window.event.srcElement.id;


Doesn't the browser support the window.event object?


Thanks in advance.



Posts: 107
Registered: ‎09-25-2008
My Device: Not Specified

Re: window.event.srcElement not working

No, that is an IE-specific behavior. It doesn't work in Firefox either, and more importantly, is not standards-compliant.