Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28431
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Retrieve a select from a table cell |
| Date | Wed, 15 Jul 2015 11:47:12 +0200 |
| Organization | PointedEars Software (PES) |
| Lines | 52 |
| Message-ID | <3500213.FrBZzccehh@PointedEars.de> (permalink) |
| References | <mo2utl$9s5$1@dont-email.me> <1620289.04d1OFRnt4@PointedEars.de> <mo50sg$2kh$1@dont-email.me> <7566852.WQMuBqMNHx@PointedEars.de> <mo54re$e75$1@dont-email.me> |
| Reply-To | Thomas 'PointedEars' Lahn <usenet@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1436953817 27999 eJwFwYEBwCAIA7CXFFpw52AZ/59gQo8dSgQDHI7nSSlDfifUMBbtJuY0x6YWei38/KxRvvUAIBIRLQ== (15 Jul 2015 09:50:17 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Wed, 15 Jul 2015 09:50:17 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-User-ID | eJwNzAEBwDAIAzBL70Z7kMMY+JfwR0C4BdVroozDWbrewUexEAYXznHLsT5gJ46qq1oBcmPx7ix/3Zn/cUcfPQkVFQ== |
| Cancel-Lock | sha1:CqxqmVf9XeDt19FBoCEhijlVDpM= |
| X-NNTP-Posting-Host | eJwFwYEBwCAIA7CXRGhx54iU/09YAqfxZRAMDKZPd4pe6U7yo9q6bkFHcZ+tzIJpJhDaxA8qdBFx |
| Mail-Copies-To | usenet@PointedEars.de |
| Xref | csiph.com comp.lang.javascript:28431 |
Show key headers only | View raw
danca (Daniele Campagna) wrote:
> […] The DOM inspector did not show the spaces, […]
You need to enable “Show whitespace characters” and the like.
See also <http://devtoolsecrets.com/> (referred to by the FAQ).
> Here is the code, JFC:
>
> function inspect(anOb,aFrame){
> // caveat: some properties are not visible, and others raise an exception
/Essato/. With a for-in statement you only get the *enumerable* properties,
and you cannot convert all property values to string. In theory, ES 5’s
Object.getOwnPropertyNames(…) gives you the names of all own property names,
regardless whether the property is enumerable; but I have observed that it
does not work that well with host objects – the array may be empty,
unexpectedly. However, the two approaches can be combined for a more
complete picture. (I wonder how they are doing it in the DOM Inspector;
probably it is just a matter of UTSL.)
> var txt="";
> if (!aFrame) aFrame=window.open()
> if (z) clearTimeout(z);
> inside=0
Undeclared identifier. (You *really* want to use strict mode, and JSHint.)
> for(var prop in anOb){
> […]
> try{
> txt=txt+" = "+anOb[prop]
> }catch(e){
> if (inside==0) {var z=setTimeout(function()
> {inspect(aBox,aDoc,isWr)},333)
Why?
> […]
> }
>
> It is a Q&D way to see the internals of an object, so I was planning to
> write onclick=inspect(this)... :-)
onclick="console.log(this)"
--
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Retrieve a select from a table cell "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-14 14:24 +0200
Re: Retrieve a select from a table cell "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-07-14 14:45 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-14 16:54 +0200
Re: Retrieve a select from a table cell "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-07-14 23:20 +0200
Re: Retrieve a select from a table cell "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-15 09:11 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-14 21:36 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-14 21:41 +0200
Re: Retrieve a select from a table cell "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-15 09:10 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-15 09:46 +0200
Re: Retrieve a select from a table cell "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-15 10:03 +0200
Re: Retrieve a select from a table cell "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-15 06:33 -0700
Re: Retrieve a select from a table cell "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-15 10:17 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-15 11:47 +0200
Re: Retrieve a select from a table cell "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-15 13:11 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-18 18:04 +0200
Re: Retrieve a select from a table cell Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-07-14 16:44 -0300
Re: Retrieve a select from a table cell Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-07-14 17:03 -0300
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-14 22:07 +0200
Re: Retrieve a select from a table cell Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-07-14 17:28 -0300
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-15 00:23 +0200
Re: Retrieve a select from a table cell Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-14 22:02 +0200
csiph-web