Weird, the jquery ajax call not working on localhost?
I am using Ubuntu 11.10 + apache2. I have a simple ajax call in my html file, and it works fine when I view the page as a file, but when I copy this html file into my apache server under /var/www, the ajax call is not working anymore, the jquery library is loaded correctly, and I can see it via firebug, and the selector works also but not this ajax call (I think all the code within $(document).ready(...); is not working). Any ideas?
Weird, the jquery ajax call not working on localhost?
===

I am using Ubuntu 11.10 + apache2. I have a simple ajax call in my html file, and it works fine when I view the page as a file, but when I copy this html file into my apache server under /var/www, the ajax call is not working anymore, the jquery library is loaded correctly, and I can see it via firebug, and the selector works also but not this ajax call (I think all the code within $(document).ready(...); is not working). Any ideas?