Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!newsfeeder.ewetel.de!eweka.nl!lightspeed.eweka.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <8005609.phbusdPiF5@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 23 Mar 2013 15:07:01 +0100 User-Agent: KNode/4.8.5 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <2471865.AAA9jsC1C5@PointedEars.de> <2fhvi8djf47mg171ogdejn3akiam4s10ds@4ax.com> <2754930.5lBmWyc64D@PointedEars.de> <91cef6bd-0cf0-4450-b9dd-cb96c95cd9ad@u7g2000yqg.googlegroups.com> MIME-Version: 1.0 Lines: 31 NNTP-Posting-Date: 23 Mar 2013 15:07:05 CET NNTP-Posting-Host: 00f24ccf.newsspool3.arcor-online.net X-Trace: DXC=3W^PQggG\G@X36K@\WTHGJMcF=Q^Z^V3H4Fo<]lROoRA8kF W dniu 2013-03-22 04:06, Scott Sauyet pisze: > [...] >> (function() { >> var field = …; >> window.setTimeout(function () { >> field.focus(); >> }, 50); >> }()); > > Does setTimeout for setting focus is still needed? Wrong question. Ask instead if setTimeout() still helps there. > I remember when this was used for some old version of Firefox. Newer versions of Firefox are likely to be more user-friendly than their predecessors. > On the other hand I saw something like: > > field.blur().focus(); Stupid is as stupid does. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.