Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27422

Re: Prevent refresh when url returns from another app.

Newsgroups comp.lang.javascript
Subject Re: Prevent refresh when url returns from another app.
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <6f5a2e3a-36ce-4887-809c-dd9f829a054a@googlegroups.com>
Date 2015-04-29 00:02 +0200
Message-ID <XnsA48B5D2EADeejj99@194.109.133.246> (permalink)

Show all headers | View raw


Amandeep <maman@google.com> wrote on 28 apr 2015 in comp.lang.javascript:

> 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. 

var xhr = new XMLHttpRequest();
...etc.
forms[0].elements['myInput'].value = result;

> I do not want to go to the server side of the equation. Please provide
> solutions workable only from the front-end side. 

I don't understand this gibberish, 
but, as this is not a help desk,
please do not direct us how we should respond.

-- 
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


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