Can you please tell me that document.getEle mentById("").st yle.display="In line" what does this statement will do.
Regarding the document.getElementById("").style.display="Inline"
Collapse
X
-
-
hi ...
welcome to TSDN ...
at the moment it will do nothing ... because the id is empty ... :) but let me explain in more detail:
with:
[CODE=javascript]var node = document.getEle mentById('any_i d');
[/CODE]
you retrieve a reference to a node in your document with the id='any_id'.
now you may use:
[CODE=javascript]node.style.disp lay = 'inline';[/CODE]
to set a css-property named 'display' to the value 'Inline' ...
kind regardsComment
Comment