Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #13130
| Date | 2012-03-30 00:56 -0800 |
|---|---|
| From | Robert Baer <robertbaer@localnet.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: How call program and/or conditional display |
| References | <P4ydnWrnbOuL2OzSnZ2dnUVZ_gqdnZ2d@posted.localnet> <7GDBICFHA1cPFwx7@invalid.uk.co.demon.merlyn.invalid> |
| Message-ID | <kbCdnczBBcjD-ujSnZ2dnUVZ_oudnZ2d@posted.localnet> (permalink) |
Dr J R Stockton wrote: > In comp.lang.javascript message<P4ydnWrnbOuL2OzSnZ2dnUVZ_gqdnZ2d@posted > .localnet>, Mon, 26 Mar 2012 21:41:50, Robert Baer > <robertbaer@localnet.com> posted: > >> OK, in an HTML page via a JS function, i get a user's country code. >> How do i either pass that to the HTML code to conditionally run/show >> results from part of that code, or conditionally run/jump to another >> HTML page as if one clicked on an href? > > A country code set in a computer does not necessarily indicate the > current preferences of the current user. * I seriously doubt that the following (working) code gets the data from there,: <script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script> <br>Country Code: <script language="JavaScript">document.write(geoip_country_code());</script> > > If alternatives are provided, the user should be enabled to change > preferences at any time, without loss of entered data. > * User does not and cannot enter data.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How call program and/or conditional display Robert Baer <robertbaer@localnet.com> - 2012-03-26 21:41 -0800
Re: How call program and/or conditional display Stefan Weiss <krewecherl@gmail.com> - 2012-03-27 18:32 +0200
Re: How call program and/or conditional display Robert Baer <robertbaer@localnet.com> - 2012-03-27 10:29 -0800
Re: How call program and/or conditional display Dr J R Stockton <reply1213@merlyn.demon.co.uk.not.invalid> - 2012-03-28 18:53 +0100
Re: How call program and/or conditional display Robert Baer <robertbaer@localnet.com> - 2012-03-30 00:56 -0800
Re: How call program and/or conditional display Scott Sauyet <scott.sauyet@gmail.com> - 2012-03-30 04:05 -0700
Re: How call program and/or conditional display Bart Van der Donck <bart@nijlen.com> - 2012-04-05 07:15 -0700
Re: How call program and/or conditional display "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-05 22:56 +0000
Re: How call program and/or conditional display Bart Van der Donck <bart@nijlen.com> - 2012-04-07 00:32 -0700
Re: How call program and/or conditional display "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-07 07:51 +0000
csiph-web