POSTING DATA TO SLIM FRAMEWORK USING JQUERY FROM A JQUERY MOBILE APP

Hi, my code works right when testing on the localhost, but it
doesn't work with the framework when I place it to my subdomain.
What might be the problem. Below is the jquery and slimframework
post codes