iamjake648
iamjake648

Reputation: 21

Get jQuery w/ Android Cordova Links to open in browser

I have an Android cordova app, and I use jQuery Mobile for the interface. Basically I am trying to get certian links to open in a browser window instead of cordovas childbrowser.

I have some code here, that I think should work, but i can't seem to debug. Could someone take a look?

http://t.co/kAJ7mrj5

Upvotes: 0

Views: 175

Answers (1)

ncksllvn
ncksllvn

Reputation: 5769

Although I'm not certain if this is the problem, I see this attribute:

 onclick="navigator.app.loadUrl(http://forum.xda-developers.com/showthread.php?t=1703488", {openExternal: true});

I think that should be:

 onclick="navigator.app.loadUrl('http://forum.xda-developers.com/showthread.php?t=1703488', {openExternal: true});"

Notice the quotes.

Upvotes: 1

Related Questions