Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28293
| From | danca <cyberdanny@tiscalinet.it> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Best way to show create different elements dynamically |
| Date | 2015-07-05 19:53 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <mnbqrr$cgc$1@dont-email.me> (permalink) |
| References | (3 earlier) <359025142.IYVrofH7X8@PointedEars.de> <mnau4c$5dg$1@dont-email.me> <5889831.4kO5l0emlv@PointedEars.de> <mnb8t3$9ie$1@dont-email.me> <33401923.tZnueLQKRv@PointedEars.de> |
Il 07/05/2015 04:03 PM, Thomas 'PointedEars' Lahn ha scritto: >> In other words... are you aware of conditions that can reasonably cause >> createElement() to fail [if implemented]? > > Good question. Yes, this is a factory method; instantiation of an object > can fail for various reasons. > > However, it should be noted that none of W3C DOM Core Level 1, W3C DOM Level > 2 Core, W3C DOM Level 3 Core, W3C HTML5, and WHATWG HTML fully specifies > what should happen in this case. HTML5/WHATWG HTML only implicitly > specifies that an interface for an unknown element type should be used if > the element type name is unsupported, which is precisely what happens in > HTML5 browsers [they use HTMLUnknownElement]. Which various reasons??? You are scaring me a bit. I have some script around relying heavily on createElement, and I'm not sure to have implemented a "graceful downgrade" or whatever. "document.createElement must work or you can trash your browser" - that is the actual state of things [in my scripts]. >> >> Tried on Firefox 29 on Kernel 2.6.37.6 (Slackware 13.37/64) - best > > You should say _Linux_ 2.6.37.6. There are many kernels. Oh yes, I played wit DOS, DRDOS, AmigaOs, TOS, Real/32, AROS, Syllable, OS/2, Novell 3.12 & 5, and Android and MacOs, and... But the word "*Slackware*" clarifies every doubt one can have. It means only one thing: LINUX. :-) [Debian, Suse, RedHat too, with the only possible exception of the song "Panama Red" from Seldom Scenes, and a sloppy neuron fuzzy on RedHat). > > Have you also tested each approach 5 times in random order? No, I'll try, and I have a Kernel 3.something (Ubuntu 12.04) on a test machine to tinker with before to put in producton Slackware 14.1 64-bits (also a 3.x kernel). [I'm testing mainly SAMBA with old ISAM databases-a mess] > >> And 180 msec vs 100 msec is the overall difference between fastest vs. >> slowest method. > > Even a difference of 80 milliseconds becomes significant if the algorithm > taking 80 milliseconds longer than another one is repeated. > Agreed. You are talking to a man that saves every bit and every cycle where/if possible. I started with a 1-Kb "computer", Sinclair ZX-81. You never really escape from your imprinting :-) >> [One sidenote: why the hell you insist on real names? Are you immune by >> spam?] > > Posting using a pseudonym does not affect the amount of spam one is getting. > How did you get that idea? Spam is sent to mailboxes referenced by *e-mail > addresses*; not to specific people. To use an analogy: if you remove your > name from your real-life mailbox, or put a false name on it, that does not > change the location of your home. > [OT - but not so much] ?! I think I could easily write a bot that reads addresses from the newsgroups, less easily to write one that elaborates the fake addresses (apart the "at" trick). Please [if you have time] elaborate. [Edit] A doubt: are you referring to "DanCa" or to the fake mail address? What's wrong with nicknames? Sorry if it's a silly question but I have no problem at all to put my name, surname, face and Fiscal Code Number, if needed. From the Eighties anyway I use nicknames and it has always been just "normal" to do it this way. > There is no good reason to believe that posting with a real name increases > the amount of spam one is getting. It does increase, however, the amount of > people who can take you seriously. > :-) YOU are taking me seriously, anyway [this time] [it seems]. This contradicts your last sentence! [joking] Dan
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 01:02 +0100
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 01:06 +0100
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 09:27 +0200
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 10:04 +0100
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 10:10 +0200
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 10:22 +0200
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 11:43 +0200
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 13:16 +0200
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 12:48 +0100
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 14:47 +0200
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 16:03 +0200
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 19:53 +0200
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-06 01:46 +0200
Re: Best way to show create different elements dynamically "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-06 07:29 +0200
Re: Best way to show create different elements dynamically Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2015-07-05 13:17 +0200
Re: Best way to show create different elements dynamically "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-05 10:38 +0200
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 10:01 +0100
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 10:11 +0100
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 11:17 +0200
Re: Best way to show create different elements dynamically "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-05 11:26 +0200
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 10:30 +0100
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 10:33 +0100
Re: Best way to show create different elements dynamically "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-05 12:29 +0200
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 12:38 +0200
Re: Best way to show create different elements dynamically "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-05 17:33 +0200
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 18:55 +0200
Re: Best way to show create different elements dynamically "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-05 19:44 +0200
Re: Best way to show create different elements dynamically danca <cyberdanny@tiscalinet.it> - 2015-07-05 20:42 +0200
Re: Best way to show create different elements dynamically "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-05 21:01 +0200
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 13:00 +0100
Re: Best way to show create different elements dynamically Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 16:13 +0200
Re: Best way to show create different elements dynamically Tim Streater <timstreater@greenbee.net> - 2015-07-05 15:23 +0100
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 15:57 +0100
Re: Best way to show create different elements dynamically JiiPee <no@notvalid.com> - 2015-07-05 10:03 +0100
csiph-web