Ticket #322 (closed bug: fixed)
‘null’ is null or not an object (1.0.3)
| Reported by: | pac | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.0 |
| Component: | ajax | Version: | 1.0 |
| Keywords: | ajax null object | Cc: | |
| Blocking: | Blocked by: |
Description
First person to note that was Steve O, so i will post his description first:
* Steve O Says: October 28th, 2006 at 10:05 am
When I try to use 1.0.3, I get a javascript error because of the following line:
1015: event.target = event.srcElement;
The error I get (only in IE, which is consistent with the above since line 1015 is in the if (jQuery.browser.msie) block). The above line is not in 1.0.2, which works just fine for me.
The error IE complains about is: ‘null’ is null or not an object *
I've got that bug in IE, same line, and realized it was related to an $.ajax() call that i had implemented.
1.0.2 works fine for me too.
Change History
comment:2 Changed 7 years ago by joern
Dunno why it occurs at an ajax call, but I guess checking if srcElement is available should help.
Which IE version are you using?
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

changing to critical