Path: csiph.com!aioe.org!news.mixmin.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Button/link click not going anywhere Date: Mon, 12 Dec 2016 00:08:43 +0100 Organization: solani.org Lines: 11 Message-ID: References: <01f1e8f6-21ff-4262-8748-ec52521d927f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1481497717 27558 eJwFwYEBwDAEBMCVNPyrcRD2HyF3UH5sN4KGxaYE7RzwiG71Te3SoUM07jizo+6/KJlRn3kXRhGR (11 Dec 2016 23:08:37 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 11 Dec 2016 23:08:37 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 X-NNTP-Posting-Host: eJwFwQkBgDAMA0BLG/3lQJr4l8BdWN5EeUZ6KHS4ljkCpzAMtZ3LJwzSFhz7flgbkqru+wMygRJA X-User-ID: eJwNysEBwCAIA8CVgJAo41gq+4/Q3vsIuXqlqORw7prsjrr0t0ImuNFjF+yPz9EgHbvsJFnBDwNAD4M= Cancel-Lock: sha1:lF4ie1rVT8Vdt9p/XHUQiksk3oU= In-Reply-To: <01f1e8f6-21ff-4262-8748-ec52521d927f@googlegroups.com> Xref: csiph.com comp.lang.javascript:31804 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