Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Functionality for hiding CheckBoxes, Textfields

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u Eric
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am guessing you are asking for something like this:
http://www.javascriptkit.com
http://www.dynamicdrive.com
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u once again.
Sincere Regards,
Naren.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic