Side navigation
#6904 closed bug (invalid)
Opened August 13, 2010 05:59AM UTC
Closed September 23, 2010 06:47AM UTC
it seems .load() can not load an external content into a div
Reported by: | rezaoli | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | ajax | Version: | 1.4.2 |
Keywords: | .load | Cc: | |
Blocked by: | Blocking: |
Description
i wrote a very simple code to check if there is any programming mistake, but it didn't work while ff, safari, and even ie doin' the job.
i also test online examples. online examples are working until i download the codes and run locally!
Attachments (3)
Change History (4)
Changed August 13, 2010 10:50AM UTC by comment:1
Changed August 14, 2010 06:22PM UTC by comment:2
component: | core → ajax |
---|
Using 7zip makes it harder to try the test case...
I've attached the two required files with some slight modifications. It works locally on all browsers except Chrome 5, which is due to this security restriction in Chrome:
http://code.google.com/p/chromium/issues/detail?id=40787
You can start Chrome with a command line option to work around it, but there's nothing jQuery can do to affect it.
Changed September 09, 2010 07:02AM UTC by comment:3
This works for me. What error, if any are you getting? What logs to console in Firefox, IE8 or Safari?
Changed September 23, 2010 06:47AM UTC by comment:4
priority: | → undecided |
---|---|
resolution: | → invalid |
status: | new → closed |
This is not a jQuery bug. If you need to deploy Web applications locally, usually the best thing to do is to include a lightweight web server.
.load won't load local resources due to security restrictions. What browser are you using?