jquery/jquery-mobile — Issue #3380: Chrome occasionally throws Uncaught TypeError when loading new page via ajax
Author: mderting
Created: 2012-01-05 04:17:10+00:00
State: open

Hi,

I think I'm going to need to do a bit more investigation on this issue, but I wanted to report it so perhaps someone else could solve it faster than I. It's a bit hard to reproduce, since it doesn't happen all the time, but on a somewhat regular basis, Chrome is throwing the following error when trying to load a new page via ajax. The loading message is displayed, but the requested page never loads.

```
Uncaught TypeError: Object # has no method 'find'
e.fn.e.init jquery-1.7.1.min.js:2
e jquery-1.7.1.min.js:2
(anonymous function) jquery.mobile-1.0.js:3772
f.event.dispatch jquery-1.7.1.min.js:3
f.event.add.h.handle.i jquery-1.7.1.min.js:3
f.event.trigger jquery-1.7.1.min.js:3
f.fn.extend.trigger jquery-1.7.1.min.js:3
e.extend.each jquery-1.7.1.min.js:2
e.fn.e.each jquery-1.7.1.min.js:2
f.fn.extend.trigger jquery-1.7.1.min.js:3
$.Widget._trigger jquery.mobile-1.0.js:264
$.Widget._createWidget jquery.mobile-1.0.js:167
$.widget._createWidget jquery.mobile-1.0.js:286
$.widget.$.(anonymous function).(anonymous function) jquery.mobile-1.0.js:67
$.widget.bridge.$.fn.(anonymous function) jquery.mobile-1.0.js:129
e.extend.each jquery-1.7.1.min.js:2
e.fn.e.each query-1.7.1.min.js:2
$.widget.bridge.$.fn.(anonymous function) jquery.mobile-1.0.js:124
enhancePage jquery.mobile-1.0.js:2545
$.mobile.loadPage.$.ajax.success jquery.mobile-1.0.js:2844
f.Callbacks.n jquery-1.7.1.min.js:2
f.Callbacks.o.fireWith jquery-1.7.1.min.js:2
w jquery-1.7.1.min.js:4
f.support.ajax.f.ajaxTransport.send.d jquery-1.7.1.min.js:4

```

Environment Info:

OS: Mac OS X 10.6.8
Browser: Chrome 16.0.912.63
jQuery Version: 1.7.1
jQuery Mobile Version: 1.0

Please let me know if you have any questions.

Cheers,
Matt