Path: csiph.com!1.us.feeder.erje.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" Newsgroups: comp.lang.javascript Subject: Re: Failing to get DIV content to flip between initial and alternate version Date: Sat, 25 Jun 2016 17:17:13 +0200 Organization: solani.org Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1466867824 26087 eJwNzAkBACEIBMBKIiyLcZSnf4S7CTBQF0+aww2DkXKtS6t9WjrvevVyPIucOMbZhVy8qZSEsPc0F6OfDM7SuBLB/X+LmKdTgJwwFQNO7w+/eB3f (25 Jun 2016 15:17:04 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 25 Jun 2016 15:17:04 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-User-ID: eJwFwYEBwCAIA7CXhrQUz5EJ/59gQg+LXwgGOJz4qm5bEguNU9hO2zcl3wwvTqe5WmazRucBDkIQgg== In-Reply-To: Cancel-Lock: sha1:VKppYe4OdefMsvRsPg9488d4/8k= X-NNTP-Posting-Host: eJwNyMkBAzEIA8CWBOIw5WDM9l9CMs9xhsSkhYf5518wg955FPt0h5W4NCdhXUSl3hI+ntJiwXXx9eJg0S84krcHb0pX7F/d8+RCTqqdwA8thRzf Xref: csiph.com comp.lang.javascript:30722 On 25.06.2016 at 16:45, Evertjan. wrote: > Stanimir Stamenkov wrote on 18 Jun 2016 in > comp.lang.javascript: > >> Or use . > > Right you are, but it does not "feel" right > that a button inside a form is not a button by default. The default value of the type attribute of a button is submit. IMO, that's particularly useful, if the button is a child of a form. -- Christoph M. Becker