android - PhoneGap with Openlayers: popup which to redirect to another page get a error Uncaught ReferenceError: $ is not defined -


i have phonegap application use openlayers show local map. use popup show information of location appeared before marker. append link popup redirect page, error "uncaught referenceerror: $ not defined" when click popup redirect. new pages still show don't have js library or css loaded, generating error "uncaught referenceerror: $ not defined". think js libraries no longer in dom when redirect popup. use ajax load other pages , add dom, reference js libraries in first page index.html. redirect successful other redirections in application.

please me error! thanks!

based on code , our conversation, links generated outside jqm, won't recognized it. thus, essential link jquery , jquery mobile new link.

in code, link generated openlayer , not jqm.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -