Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #21625
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2013-10-16 09:47 -0700 |
| References | <97737c56-4c78-438f-9ef0-605db268cb5d@googlegroups.com> <3993899b-66ec-43fd-b84e-85e414b12825@googlegroups.com> <1e9dckh58rj1r$.q617hcr7ko6b.dlg@40tude.net> |
| Message-ID | <f19b5ef8-852d-4c62-9f48-fa06150034ed@googlegroups.com> (permalink) |
| Subject | Re: status 0 and textResponse empty in XMLHttpRequest |
| From | dhtml <dhtmlkitchen@gmail.com> |
On Tuesday, October 15, 2013 1:44:08 AM UTC-7, JJ wrote: > On Mon, 14 Oct 2013 10:32:48 -0700 (PDT), Danny wrote: > > > To irshadjd > > > > > > from the code above, I don't see anything wrong, it'd be nicer if we could > > > look at the working page so we could probe the actual code. > > > > I think he's violating cross-domain policy. Yeah. Possibly making a request from local file protocol (not a domain). That's why Thomas mentioned about Access-Control-Allow-Origin. For that resource to be loaded by any different origin domain that page, youtube.com would need to respond with Access-Control-Allow-Origin: *
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
status 0 and textResponse empty in XMLHttpRequest irshadjd <mohdirshadmi4@gmail.com> - 2013-10-14 04:05 -0700
Re: status 0 and textResponse empty in XMLHttpRequest Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-14 13:28 +0200
Re: status 0 and textResponse empty in XMLHttpRequest Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2013-10-14 16:04 +0200
Re: status 0 and textResponse empty in XMLHttpRequest Danny <dann90038@gmail.com> - 2013-10-14 10:32 -0700
Re: status 0 and textResponse empty in XMLHttpRequest JJ <duh@nah.meh> - 2013-10-15 15:44 +0700
Re: status 0 and textResponse empty in XMLHttpRequest dhtml <dhtmlkitchen@gmail.com> - 2013-10-16 09:47 -0700
csiph-web