I am working in jQueryMobile and PhoneGap.
I Have 2 objects: eup and gld. The length of eup is 22, and the length of gld is 6.
I have tried:
//common.push(eup,gld);
//common.join(eup,gld);
//common.concat(eup,gld);
alert(common.length) // 2
When I check common.length, it's 2.
But for my logic I need it as 1. That means merge eup and gld and shows its length as 1. I got the result of eup and gld from two different APIs and it's in JSON format.
The main thing is the tags of both objects are identical. So I think it should be possible to merge these values as one and show its length as ONE.
Is there any solution for this????