So basically I have to make a call for everything I want to load for example:
php page - level: 5
and it would be like var AJAX.level
... it will retrieve 5 and I can load the level from that if I put it into a global variable?
Sorry, just trying to get my head around it. I know how AJAX and php work but for some reason I just can't get this through my head. This is the only thing I'm having a problem with in this program.