Default Serving dynamic data content from server to a webapp

Hi sorry for double posting as I thought this title would be more clear.

I am trying to get make an app that can serve content dynamically to a webapp. I've been exploring the .getJSON method, but didn't get it to work within the webapp. Does anyone here know if it's possible to create a webapp that is able to deliver content dynamically from server to a web app?