tags:

views:

269

answers:

3

Can anyone help point me in the right direction - I have the following in a function:

document.form1.textbox1.style.display = 'none';

which works fine.

But I'm trying to find a list of all the possible 'elements'(?) that could come after style, e.g. '.display=', '.length=' etc, but I don't know the proper name/terms so the searches i'm doing are not returning what I want.

Any ideas? Thanks in advance! :)

leddy

+6  A: 
David Dorward
thanks David, I'm looking at CSS and stylesheets at the moment, but it's hard to find some things when you don't know their names.Thanks again!
leddy
+1  A: 

Are you looking for this?

It also shows browser compatibility.

jao
thanks jao, that's exactly it! :)
leddy
W3Schools is error prone. I suggest avoiding it.
David Dorward
A: 

Style basically maps onto the CSS. As such, display is a CSS property - this is what your setting.

Take a look at CSS and you should understand what you can and cannot set.

Hope this helps!

Ben

Ben Hall
thanks for the reply Ben, I'm looking into CSS and stylesheets at the mo :)
leddy