Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27425
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Prevent refresh when url returns from another app. |
| Date | Thu, 30 Apr 2015 01:55:05 +0200 |
| Organization | solani.org |
| Lines | 17 |
| Message-ID | <mhrr0i$sv2$1@solani.org> (permalink) |
| References | <6f5a2e3a-36ce-4887-809c-dd9f829a054a@googlegroups.com> <mhrpa8$rob$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1430351698 29666 eJwNyMkBwCAIBMCWWJGrHDZK/yWYeY6pw7/Ybr5tbBQbVjgR1D4k+K/fyvDbwwZkNSUXyzJEHhbsEMI= (29 Apr 2015 23:54:58 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Wed, 29 Apr 2015 23:54:58 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
| X-User-ID | eJwNybkBACAIBLCVQB5xHEBu/xG0ShETZ++tbq4Gw/1EEzKSF241k5JlHZKJLSjuHMWsIf7pDydbEaQ= |
| In-Reply-To | <mhrpa8$rob$1@dont-email.me> |
| Cancel-Lock | sha1:ky38uTpgpPemdVEmLAC+lpPcgis= |
| X-NNTP-Posting-Host | eJwFwQkBwDAIA0BLUEhgclYe/xJ6B6Oywgk6FutNDWQf+atPKe0m0bYYuVU1/sUALjuaHH0cFBEy |
| Xref | csiph.com comp.lang.javascript:27425 |
Show key headers only | View raw
Denis McMahon wrote: > On Tue, 28 Apr 2015 13:04:02 -0700, Amandeep wrote: > >> So, is there a way where I can retrieve the bar-code from the url >> without refreshing the page.(So that the input fields retain their >> values). OR how can I retain the values entered in the input fields. > > Use a "background" http request to get the bar code from the url. [...] To get anything from "the url", just use window.location and appropriate string manipulation functions (regex might come in handy). Disclaimer: I'm well aware that this doesn't answer the *intended* question. -- Christoph M. Becker
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Prevent refresh when url returns from another app. Amandeep <maman@google.com> - 2015-04-28 13:04 -0700
Re: Prevent refresh when url returns from another app. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-29 00:02 +0200
Re: Prevent refresh when url returns from another app. Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-04-29 15:49 -0300
Re: Prevent refresh when url returns from another app. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-30 08:25 +0200
Re: Prevent refresh when url returns from another app. Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-29 23:26 +0000
Re: Prevent refresh when url returns from another app. "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-30 01:55 +0200
csiph-web