Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

AJAX

Name: Anonymous 2011-07-16 5:23

Trying to learn some web programming.

I've created a site with AJAX navigation, loading content from links into the main content div.

Everything works fine when I host the site with Apache, running on my own computer.
But if I upload the site to a host, or try to browse it locally, the AJAX navigation doesn't work. I don't get any error message in the console; the index div simply reloads if I try to load the content from some other page...

Any ideas on what could be causing this?

Name: Anonymous 2011-07-16 5:28

ONE WORD, SAME ORIGIN POLICY, THREAD OVER

Name: Anonymous 2011-07-16 5:37

>>2
All pages are located on the same server

Name: Anonymous 2011-07-16 8:46

AJAX navigation
Don't use AJAX for that.

Btw, AJAX will be obsolete when the netsockets will be more common.

Ok, I hate web programming, so I really don't know what I'm talking about.

Name: Anonymous 2011-07-16 13:25

>>2
JSONP. What now, faggot?

Now you have two problems

Name: Anonymous 2011-07-16 15:31

TWO WORDS CROSSDOMAIN.XML THREAD OVER

Name: Anonymous 2011-07-16 16:55

If it's for the Web, it's shit. No Exceptions!

Don't change these.
Name: Email:
Entire Thread Thread List