That was just to illustrate the problem. I'm not actually calling
document.createEventObject. I'm calling Object.isHash on the event,
which i get inside the click handler. The event itself is not null, I
can assure you of that. Furthermore, it does have the recordset key,
since I use Object.keys to obtain all the keys (and recordset is just
one of them).

On May 7, 1:46 pm, Tobie Langel <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> The problem imho is that document.createEventObject() returns null or
> undefined, therefore, calling recordset on it throws an error.
>
> Not realted to Object.isHash but to your own code.
>
> Try the folowing:
>
> var e = document.createEventObject();
> Object.isHash(e && e.recordset);
>
> Which should work.
>
> Best,
>
> Tobie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to