.load() not loading

0
June 25, 2016

OK, so last night this all worked fine, but now when I load another page on the same domain, it will not load.

Response Headers

HTTP/1.1 200 OKDate: Fri, 22 Jan 2010 18:11:34 GMTServer: Apache/2.0.52 (Red Hat)X-Powered-By: PHP/5.2.12Cache-Control: no-cache, must-revalidateContent-Length: 501Connection: closeContent-Type: text/html

Request Headers

GET /test/nothing/ajax/dash.php?q=/test2.php HTTP/1.1Host: biometemerge.comUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)Accept: text/html, /Accept-Language: en-us,en;q=0.5Accept-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive: 115Connection: keep-aliveReferer: http://www.biometemerge.com/test/nothing/Origin: http://www.biometemerge.comI appears to be sending something, Content-Length: 501, but nothing is in the response body.The page it is getting content from is loading (and sending content) when I go to it directly. Any idea why this isn't working?

2

answers

Comments See all(0)

Add comment
0
June 25, 2016

I think it's a cross-domain error: running

$('#content').load('http://www.biometemerge.com/test/nothing/ajax/dash.php?q=/test2.php');

(

http://www.biometemerge.com

vs

http://biometemerge.com)

in the firebug console loads the content properly.

0
June 25, 2016

Yes, different subdomains are considered different domains by the browser's security.  Unless you're canonicalizing your domain name from the server (forcing it either have the www. prefix or not), you should use root relative syntax for your path instead of full

http://

protocol.

Related Questions

Camera slider not loading in chrome and other browsers, IE works fine

Hi guys, Having a frustrating problem here, I'm design my site, still fairly new to jQuery need some help on the following problem I've implemented the Camera Plugin Slider- http://www.pixedelic.co Read More

Views

19

Votes

0

Answers

0

June 19, 2016

.ajax or .load not working in IE

Ok, I have tried this code using the .ajax and .load and it does not work in in IE. I have tested in Chrome, Safari, Firefox, Opera and all run it just fine. The point of using JQuery for this is beca Read More

Views

29

Votes

0

Answers

7

June 23, 2016

.load fragment

Hi All I have 2 select boxes, what I need is the second select box to be populated dependent on the primary select box. Basically to put it in context, the primary select box will select the switch a Read More

Views

11

Votes

0

Answers

0

June 24, 2016

.load() not loading remote HTML properly

I searched google and this forum and I couldn't see anyone facing this strange problem: I'm using .load() to refresh a page content from a remote file (in the same server) like so $('#loadbut').click Read More

Views

15

Votes

0

Answers

0

June 23, 2016

IE-Specific Issue - $.load() returning only part of document

Hi All, I am using $.load() to dynamically load php-driven forms for the admin section of a site I am building. My challenge at the moment is that, in IE only, one of the forms only gets partially l Read More

Views

21

Votes

0

Answers

2

June 24, 2016

.load Content loading from other html-page working in Dreamweaver, but not in Safari

Hi there, i have a problem loading a div/whole page from an external page with jquery. I use the following code: $(document).ready(function() { $("#comercial").click(function() { $("#loadg Read More

Views

16

Votes

0

Answers

6

June 24, 2016

.load() not working in Firefox & IE

I am having trouble loading external files in Firefox & IE [chrome & safari works fine] using .load() function in the a tag. ul start href =" javascript:$('#content').load('txt/docs/op Read More

Views

18

Votes

0

Answers

0

June 24, 2016

Change cursor to wait while loading a content, after, chage cursor to default when loading content is finished.

Hi all, as the tittle says, I want to change the mouse pointer to diferent images, something like: $('#searchFor').keypress(function(e) { code= (e.keyCode ? e.keyCode : e.which); var nombreServer = Read More

Views

26

Votes

0

Answers

1

June 20, 2016

Does the load() callback function know the URL of the page it's loading?

Hi, I'm new to jQuery so this might be a basic question. Did a quick search of the forums and the jQuery documents but didn't see an  answer. I'm calling load() with a callback function (the complet Read More

Views

9

Votes

0

Answers

0

June 25, 2016

Problem with loading content without refresh by .load()

why after several times click on buttons, is hang website? i use of function .load() for loading content(html). i use of firebug for solution this problem but did not succeed. my purpose is this butt Read More

Views

19

Votes

0

Answers

4

June 22, 2016

.load('something.html') .js conflict with jquery

Im using jquery on my main page to load content into a div like so: $(document).ready(function(){ $('#content').load('content.html'); }); Problem I run into is if the content that im loading into Read More

Views

25

Votes

0

Answers

4

June 19, 2016

Autosuggest loading gif when ajax/jquery in progress

Hello, I have a site with een autoSuggest function. VaZoDo.com But i want to show een loading-gif when the autoSuggest function in progress and hide when not in progress. For a example: Demo I t Read More

Views

17

Votes

0

Answers

0

June 23, 2016

.load loading content but not scripts...

I believe this is a .live function but I can't get it to work. I have a page with a ul like this Select a year 2010 | 2009 | 2008 | 2007 | 2006 | 2005 below that in another Read More

Views

20

Votes

0

Answers

2

June 24, 2016

jquery and iFrame loading complete

I have an iFrame that does some processing that doesn't generate any HTML output.  It processes a data export and then delivers that file to the user. What I'd like to do is run some JS processing in Read More

Views

15

Votes

0

Answers

5

June 24, 2016

Slider not working in Chrome but works in IE

Hi guys, I'm having a frustrating problem,I've implement the camera slider from http://www.pixedelic.com/plugins/camera/ on my home page http://www.hybridizedesigns.com/ The slider works in IE but Read More

Views

35

Votes

0

Answers

14

June 19, 2016

Access Denied Error with jQuery .load in IE 7 and 8 NOT CROSS DOMAIN

I have a page that loads a div from another page from same domain on successful submission of a form. It works in all browsers except IE 7 and 8 where I get the following error: Here is the error cod Read More

Views

23

Votes

0

Answers

5

June 24, 2016

How to prevent .load scrolling back to top of page when loading new content into div?

Hello, I've gotten .load to load content into a div but if the window is not at the top of the page it scrolls back to the top each time the new content is loaded but I wanted to avoid any sort of ch Read More

Views

19

Votes

0

Answers

2

June 17, 2016

Ajax not loading css.

I have a div and its id is container and I am trying to load the .html file into it but once it is loaded it does not get the formatting from the css file .html file cell 1cell 2 cell 1cell 2 Read More

Views

14

Votes

0

Answers

0

June 25, 2016

working with .load()

hi i'm trying to create a min-shopping cart (as a way of learning jquery) when the page first loads it has the list of items (picture, title, price and buy link) to add  item into the shopping bask Read More

Views

25

Votes

0

Answers

2

June 18, 2016

Loaded (.load) data does not find js (jquery) file

I'm loading a (HTML) list from mySql via PHP into a main page using load. The main page is linked to a css file and a js file (jquery). The loaded data assigns the css file BUT does not seem to be abl Read More

Views

17

Votes

0

Answers

2

June 17, 2016