Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8144
| Message-ID | <4773292.ypaU67uLZW@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2011-11-08 21:34 +0100 |
| Subject | Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C |
| Newsgroups | comp.lang.javascript |
| References | <cf608eec-da40-4ff0-bfde-6722dfe12f8d@l19g2000yqc.googlegroups.com> <4eb969cb$0$28705$a8266bb1@newsreader.readnews.com> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
Denis McMahon wrote: > On Tue, 08 Nov 2011 04:17:19 -0800, David Mark wrote: >> David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C > > […] > We have a faq server, It is spelled _FAQ_, and the server is frequently down, unfortunately. Also, I do not think that the FAQ covers this subject. I value David's pointing out that the Webkit bug with dynamically created `button' elements can be worked around with setAttribute(), as I had problems with that when creating widgets (for a quick solution I had opted to use `input[type="button"]' elements instead of `button' elements, but the latter are more flexible). Also, it is important to realize that the value of an attribute as retrieved with getAttribute() can be misleading. For a practical example, there is (was?) a jQuery UI component which attempted to provide a fallback for HTML5's type="date". But it used jQuery's attr() method for detection. Since the attr() method always uses the getAttribute() method in Gecko-based browsers, the plugin was unable to detect that Firefox did not support the attribute's `date' value (the attribute property yielded "text" which would have shown that), and that applying the fallback was indicated. As a result, the corresponding `input' element stopped working in Firefox (text- based date input impossible, as all keyboard events had been canceled by the plugin) until that jQuery plugin had been eliminated from the project's code base. > we have Thomas 'pointed ears' Lahn, _PointedEars_, please. -- Prototype.js was written by people who don't know javascript for people who don't know javascript. People who don't know javascript are not the best source of advice on designing systems that use javascript. -- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C David Mark <dmark.cinsoft@gmail.com> - 2011-11-08 04:17 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-08 17:41 +0000
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C David Mark <dmark.cinsoft@gmail.com> - 2011-11-08 10:35 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Andrew Poulos <ap_prog@hotmail.com> - 2011-11-09 06:56 +1100
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-08 21:34 +0100
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-11-09 12:16 +0100
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-09 05:51 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Andrew Poulos <ap_prog@hotmail.com> - 2011-11-10 07:09 +1100
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-10 18:45 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C David Mark <dmark.cinsoft@gmail.com> - 2011-11-10 06:43 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C SteveYoungTbird <stephen.young@chello.at> - 2011-11-08 19:17 +0100
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C David Mark <dmark.cinsoft@gmail.com> - 2011-11-08 10:34 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C "S.T." <anon@anon.com> - 2011-11-08 17:13 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Andrew Poulos <ap_prog@hotmail.com> - 2011-11-09 12:21 +1100
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C RobG <rgqld@iinet.net.au> - 2011-11-08 20:13 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Matt McDonald <matt@fortybelow.ca> - 2011-11-09 09:29 -0700
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C RobG <rgqld@iinet.net.au> - 2011-11-09 15:36 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C David Mark <dmark.cinsoft@gmail.com> - 2011-11-10 06:52 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C Tim Down <timdown@gmail.com> - 2011-11-09 14:41 -0800
Re: David Mark's Javascript Tip of the Day - Volume #1 - #Tip 14-C David Mark <dmark.cinsoft@gmail.com> - 2011-11-10 06:44 -0800
csiph-web