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


Groups > comp.lang.javascript > #31804

Re: Button/link click not going anywhere

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: Button/link click not going anywhere
Date 2016-12-12 00:08 +0100
Organization solani.org
Message-ID <o2km9l$qt6$1@solani.org> (permalink)
References <01f1e8f6-21ff-4262-8748-ec52521d927f@googlegroups.com>

Show all headers | View raw


On 11.12.2016 at 18:20, bit-naughty@hotmail.com wrote:

> If I have a button/link, upon clicking of which I do NOT want the
> browser to go off anywhere - ie. say, I want a text to be
> displayed/box to pop up, etc ,etc WITHOUT a refresh, (ie. the text
> just displays) what do I have to do?

You should *prevent* the elements *default* action.

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Button/link click not going anywhere bit-naughty@hotmail.com - 2016-12-11 09:20 -0800
  Re: Button/link click not going anywhere Silvio <silvio@internet.com> - 2016-12-11 20:33 +0100
  Re: Button/link click not going anywhere "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-12-12 00:08 +0100
  Re: Button/link click not going anywhere JJ <jj4public@vfemail.net> - 2016-12-12 12:17 +0700
    Re: Button/link click not going anywhere "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-12-12 12:15 +0100
      Re: Button/link click not going anywhere JJ <jj4public@vfemail.net> - 2016-12-12 22:36 +0700
        Re: Button/link click not going anywhere Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-12 20:37 +0100
    Re: Button/link click not going anywhere bit-naughty@hotmail.com - 2016-12-14 09:36 -0800
      Re: Button/link click not going anywhere "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-12-14 18:49 +0100
      Re: Button/link click not going anywhere JJ <jj4public@vfemail.net> - 2016-12-15 09:22 +0700

csiph-web