ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Enhancing ASP.NET Pages with JavaScript
Subject:   how to hide controls using javascript
Date:   2008-01-10 17:42:59
From:   aammiz
I have a form where I have a submit button sever and a label, which are server controls.

When the user clicks on the button, I want to hide those controls along with other process. The other process take several minutes and I get a response in few minutes from the server. So I want to hide those controls by javascript as soon as the user clicks.

I could use the Button.Visible=false;
But this could happen after I get a response from the server, therefore not acceptable.

So any help??