Wednesday, January 24, 2007

Today I have found a funny example of how to ensure the checkbox is not visible:

<input id="chkIsDirty" type="checkbox" readonly style="DISPLAY: none;
VISIBILITY: hidden; BACKGROUND-COLOR: transparent" size="0" runat="server"
name="chkIsDirty">

I have emphasized the important elements. I wonder if it is also hidden by the style sheets and maybe in the code via the runat="server" attribute :-)

Thursday, January 25, 2007 5:47:02 PM (Central European Standard Time, UTC+01:00)
Hehe, you don't take any chances do you? style="display:none" would have done the trick.
Friday, January 26, 2007 9:50:16 AM (Central European Standard Time, UTC+01:00)
No - he does not. He truly is a real coding madafaka.
Friday, January 26, 2007 11:54:16 AM (Central European Standard Time, UTC+01:00)
Mads: Actually it is not my code.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview