I don't want your PHP code. You're only providing bits and pieces of information only when specifically asked and I don't care to take the time to repeatedly ask for the next little code fragment that you haven't included.
You need to read:
https://forum.jquery.com/topic/how-to-ask-for-jquery-mobile-helpSorry, but I don't have any other help I'm willing to offer as long as you only provide partial information on a per-request basis.
The fact that it works with AJAX enabled clearly indicates that you've done something wrong. But since you can't seem to provide anything unless someone specifically tries to guess what you might be doing wrong and asking for another code fragment, I'm not sure how you expect others to help.