Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 206
Registered: ‎05-15-2012
My Device: None
My Carrier: Telus

How can I inject jQuery into a WebView

I'm trying to just copy and past the source into an evaluateJavaScript call, but there's issues with double quotes. As far as I know in JavaScript double quotes and single quotes are interchangable (as long as you open and close with the same type of quote) but replacing all double quotes (in jQuery) with single quotes, then running an evaluate script on that is showing "Syntax error, invalid character escape." a ton of times per line.

Check out my app, Alien Flow for reddit

And of course, like my post if you found it helpful or informative!