R
Robert
Hi,
I would like to determine if a property is available in an Event prototype.
I tried doing this using:
if (Event.prototype.srcElement)
but I got an "Illegal operation on WrappedNative prototype object"
exception. Is there anyway to see if it already has been defined.
One other question I have is if the __defineGetter__ method is part of
some Javascript/ECMA Script version or if it is Mozilla proprietary.
Thanks!
Robert
I would like to determine if a property is available in an Event prototype.
I tried doing this using:
if (Event.prototype.srcElement)
but I got an "Illegal operation on WrappedNative prototype object"
exception. Is there anyway to see if it already has been defined.
One other question I have is if the __defineGetter__ method is part of
some Javascript/ECMA Script version or if it is Mozilla proprietary.
Thanks!
Robert