Default .getJSON problem in webapp??

Hi guys, I'm making a webapp with a functionality that needs to display information dynamically.

I was trying out the .getJSON and tested it on my localhost website, it was running smoothly. But after I used cordova to convert the site to a app and clicked on the button to trigger .getJSON to get the list of items to display from my localhost with the emulator, but it didn't work.

Anyone have any idea why the getJSON wouldn't work inside the app?