Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

Hiding Check Box in JavaScript

hiding check box javascript

  • Please log in to reply

#1 SmartWeb


    Senior Member

  • Designer
  • 271 posts

Posted 07 December 2012 - 01:16 AM

To hide check boxes that has been checked in JavaScript do the following:
1.Right click on the HTML file that you want to edit and then select the option "Open With." and select the HTML or JavaScript editor that you have
2. In the HTML code type the following:
<script type="Text"> </script>
Put all your JavaScript code within the tags
3.To create a function to hide the check box add the following code:
function hideChckBox(chkbox) {
if(chkbox.checked) {
chkbox.style.visibility = "hidden";
4.add the following code to call the function you just created:
OnClick="javascript: hideChkBox(this)"

#2 Almeida



  • Designer
  • 75 posts

Posted 17 December 2012 - 04:16 PM


Also tagged with one or more of these keywords: hiding check box, javascript

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users