Input button visible when not visible

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

I have button in my aspx page that I want to hide to use for later.

<input id="Button1" type="button" value="button" visible="false"
onclick="ClipBoard();" />

But it still shows up on my screen - why is that?

Thanks,

Tom
 
Mark Rae said:
Because there is no "visible" attribute of the <input> tag, so the browser
just ignores it.

That's right.

I forgot that. I put it there because intellisense showed it as one of the
options.

And since it shows as lower case, it looks like an html attribute.

Thanks,

Tom
 
Back
Top