I am getting this error:
'null' is not an object (evaluating 'X[2]') easyxdm
When I try to do this:
var url = "the url"
socket = new easyXDM.Socket({
remote: url,
container: document.getElementById(theDiv),
onMessage: app.receiveMessage,
onReady : function(){
console.log("done making obj");
}
});
app.receiveMessage is a custom function. I never see the onReady event message in the console, just the exception.
Here is the weird part. It works fine in a browser but on in a phonegap application it fails.
Just to say, I have no iFrames on the page.
App info:
PhoneGap 3.3 / JQM 1.4.1 / JQ 1.11.0
Any ideas? Thanks so much!
~Red