I am very new to jQuery/javascript and am basing some code off this introduction to JSON and PHP that ended up looking like this on my pages:
$(document).ready(f
Use pageinit instead of document ready. Drop eval, which isn't the cause of your issue but it is neither necessary nor something that should be used.
pageinit
document ready
$(document).bind("pageinit", function() { });
http://jquerymobile.com/demos/1.2.0/docs/api/events.html