Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18179
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Tony" <tony.johansson@inport.com> |
| Newsgroups | comp.lang.javascript |
| Subject | What is the best way to call another html file |
| Date | Mon, 21 Jan 2013 08:13:31 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 1 |
| Message-ID | <kdipqs$8a6$1@dont-email.me> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 21 Jan 2013 07:13:32 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="04290fff4557273ca84c3ad616751e0b"; logging-data="8518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oj36Qy31h+Bb6CqvgAJGntz79SJlJSDM=" |
| X-MimeOLE | Produced By Microsoft MimeOLE V15.4.3555.308 |
| X-Newsreader | Microsoft Windows Live Mail 15.4.3555.308 |
| Importance | Normal |
| Cancel-Lock | sha1:EnAdLgYjmYqE1IGx0zAvh4vg/EA= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | csiph.com comp.lang.javascript:18179 |
Show key headers only | View raw
Hello! I have a website with several html files and I don't use any server processing code where the html files are located. I use json do get data from another server. For example to get all the ships and fill a select control. Now to my question what is the best approach to get another html file. I now use window.location like this window.location = "SelectShip.html"; this works but I just wonder if this is the normal way to do this. //Tony
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
What is the best way to call another html file "Tony" <tony.johansson@inport.com> - 2013-01-21 08:13 +0100
Re: What is the best way to call another html file "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-21 09:52 +0100
Re: What is the best way to call another html file "Tony" <tony.johansson@inport.com> - 2013-01-21 10:02 +0100
Re: What is the best way to call another html file brooklynb7 <brooklynb7@gmail.com> - 2013-01-21 01:23 -0800
Re: What is the best way to call another html file "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-21 10:55 +0100
Re: What is the best way to call another html file "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-21 10:49 +0100
Re: What is the best way to call another html file Osmo Saarikumpu <osmo@weppipakki.com> - 2013-01-22 10:09 +0200
Re: What is the best way to call another html file Danny <dann90038@gmail.com> - 2013-01-22 12:45 -0800
Re: What is the best way to call another html file Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-01-22 17:42 +0000
csiph-web