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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top