File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Functionality for hiding CheckBoxes, Textfields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Functionality for hiding CheckBoxes, Textfields" Watch "Functionality for hiding CheckBoxes, Textfields" New topic
Author

Functionality for hiding CheckBoxes, Textfields

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Hello,
My project requires to hide CheckBoxes when they are checked and after clicking a button. Is there any specific functionality in doing so. Kindly give me the answer in detail.
Rgds,
Narendranath.


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
hiding stuff is not hard
document.FormName.ElementName.style.hidden = visible/hidden;
or
document.FormName.ElementName.style.display = block/none;
you can also wrap all of the elements you want to hide in one div and hide that instead of each element
document.getElementById("divName").style.......
Eric
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Thank You alot Eric. U did a great favour to me. I previously thought of layers and its usage to hide elements.
Can u plzz tell where can I get complete ATTRIBUTE and TAG list in HTML and METHODS in JAVA SCRIPT. I KNOW ONLY WEBSITE www.w3schools.com. But, there I can't get the subject in depth. Don't mention it again when giving reply.

Regards,
Naren.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Check out this post:
http://www.coderanch.com/t/114326/HTML-JavaScript/javascript-learning-resources
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Thank u Eric
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

I would like to get nice Exercise Programs to do of myself in HTML and JAVASCRIPT which should make me able to create a more interactive WEBPAGE with LINKS. Where can I get these? Kindly suggest me.
Regards,
Naren.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I am guessing you are asking for something like this:
http://www.javascriptkit.com
http://www.dynamicdrive.com
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Thank u once again.
Sincere Regards,
Naren.
 
 
subject: Functionality for hiding CheckBoxes, Textfields