Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28619
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Can AJAX request a .js file? |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <9ba8b186-10e2-4510-b456-8d38608db644@googlegroups.com> <ms7s66$a64$1@solani.org> <835728ac-fe10-4a65-a719-e3aec3ec02de@googlegroups.com> <ms7u7v$hf8$1@solani.org> <92e68ba6-df1f-4479-921d-15bb219aba89@googlegroups.com> |
| Date | 2015-09-04 00:14 +0200 |
| Message-ID | <XnsA50B26D36C7Feejj99@194.109.6.166> (permalink) |
Jay Braun <lyngwyst@gmail.com> wrote on 03 Sep 2015 in comp.lang.javascript:
> var e = eval(request.responseText);
I fail to see the necessity of a return value,
so:
eval(request.responseText);
If the below works,
the above should work,
given a correct code content:
var t = "alert('hi');"
eval(t)
So first test your code this way.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can AJAX request a .js file? Jay Braun <lyngwyst@gmail.com> - 2015-09-02 14:47 -0700
Re: Can AJAX request a .js file? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-09-03 00:11 +0200
Re: Can AJAX request a .js file? Jay Braun <lyngwyst@gmail.com> - 2015-09-02 15:15 -0700
Re: Can AJAX request a .js file? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-09-03 00:46 +0200
Re: Can AJAX request a .js file? Jay Braun <lyngwyst@gmail.com> - 2015-09-03 12:50 -0700
Re: Can AJAX request a .js file? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-04 00:14 +0200
Re: Can AJAX request a .js file? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-09-04 00:44 +0200
Re: Can AJAX request a .js file? Jay Braun <lyngwyst@gmail.com> - 2015-09-03 18:52 -0700
Re: Can AJAX request a .js file? Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2015-09-04 18:28 +0200
Re: Can AJAX request a .js file? Jay Braun <lyngwyst@gmail.com> - 2015-09-04 15:47 -0700
Re: Can AJAX request a .js file? Stefan Weiss <krewecherl@gmail.com> - 2015-09-05 03:12 +0200
Re: Can AJAX request a .js file? Jay Braun <lyngwyst@gmail.com> - 2015-09-05 20:09 -0700
csiph-web