http://reenie.org/test/jquerytest.html This uses $('#container').load('content.html'); to load content from an html file http://reenie.org/test/jquerytest.html This uses $('#container').load('content.php'); to load from a php file. Why doesn' t the second one work? They are the same except for the files being loaded. If I change the second one to load the html file, it works fine.
Thanks for the help. That was the immediate problem, but not my original problem which I was having on another site, but you did give me the idea of trying to actually look at the php file(duh) The problem was an internal error caused by incorrect permission. I had set the correct permissions of the file, but not the folder. On my server, all folders need to be chmoded to 755 and all PHP scripts need to be chmoded to 644. Some how when I create a folder sometimes it has the wrong permissions, I'm not sure why.
Leave a comment on info1.jquery's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic