Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31104
| From | wmgill <webworker1950@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | DOM properties |
| Date | 2016-08-14 13:50 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <noqb12$jtn$1@dont-email.me> (permalink) |
Forgive me for being very rusty, and unfocused, but I'm having trouble
finding something that I can use as a reference.
To show you what I'm looking for, take this code snippet:
x[i].style.display = "none";
I fully understand what it's doing, and how. It's dynamically setting an
element's display property to "none", just like could be done via a
stylesheet:
Element {
display:none;
}
My question is how do I determine what other properties are exposed by
the DOM? I used to have a home made tool to loop through an element
(object) and print out all its properties, but would prefer to have a
reference document to look things up. Further, to demonstrate my foggy
state, as I was thinking about the JS I couldn't remember how I knew the
CSS and knew "display" actually was a valid property of Element, but I
could easily find a list of acceptable values for display.
I have found some online references, but as far as I can see, I need to
know where I'm going before they are of any use. Does that make sense?
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
DOM properties wmgill <webworker1950@gmail.com> - 2016-08-14 13:50 -0400 Re: DOM properties Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-14 21:41 +0200
csiph-web