Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Date arithmetic Date: Wed, 12 Nov 2014 19:48:17 +0100 Organization: PointedEars Software (PES) Lines: 19 Message-ID: <5785626.gmMvSiFopG@PointedEars.de> References: <87d28szh5a.fsf@bsb.me.uk> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1415818097 16607 eJwNwokRACEIBLCW8GB5yllU+i/BmwTqy3eYww3zyy69cSjIlXuq4vITBCylT0mwb/XQjFTkAxa5ERI= (12 Nov 2014 18:48:17 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 12 Nov 2014 18:48:17 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBwCAIA7CXVGgL54CO/09YAuPmlRN0DGY6eDrM9XHCYo0S2S/3oR09DxMzUhDiTtfzmkURj6paPzKwFKs= Cancel-Lock: sha1:e7bR7bZmWCTPB50qXYtHgx238O8= X-NNTP-Posting-Host: eJwFwYERADEIArCV9IrgOrUv+4/wSR0mn8AiyuXpp6GXglFofJM6rQwxttl3HcnFuCXnDxbDEMA= Xref: csiph.com comp.lang.javascript:26125 Christoph M. Becker wrote: > Ben Bacarisse wrote: >> You might add a listener to the change event for these three fields (you >> might even listen for key presses to get more immediate results). > > The input event[1] might come in handy here. > > [1] Given that this would run in Chrome, which does support HTML5, the “input” event should suffice. Otherwise, mouse and keyboard events and the “change” event should be considered; see also <9271849.S5ITpJ9GIt@PointedEars.de>. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not Cc: me. / Bitte keine Kopien per E-Mail.