Wednesday, April 6, 2011

problems once uploaded to server

This all works fine in MAMP but i've uploaded and now the problems start.

heres an image of the code for the link and a grab of the result

First image

Second image

any ideas?

From stackoverflow
  • You seem to be POSTing to a static HTML file. Try changing the file extension to php, asp, jsp etc. depending on what you're using on the server-side.

    Also, for textual content like this, you could simply copy-paste the text intead of capturing screenshots.

  • Problem solved, it was in the .js file, it was pointing to POST and should have been GET

0 comments:

Post a Comment