Speed up development with full-stack environments for every branch.

Learn More

jquery toggle checkbox checked state

3936 Runs 19645 Views 2740 Copies
Saved

Saved

dipesh.parmar 55

dipesh.parmar
published 4 years ago

    d> 
    
        <!-- Load jQuery from Google's CDN -->
    
        <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
    
        <!-- Source our javascript file with the jQUERY code -->
    
        <script src="script.js"></script>
    
      </head>
    
      <body>
    
        
    
        <!-- checkbox -->
    
        <input type="checkbox" name="checkme" value="check_uncheckme" id="checkme" />
    
        
    
        <!--button for checking unchecking checekbox -->
    
        <input type="button" value="Toggle CheckBox" id="togglecheckbox" />
    
    
    
      </body>
    
    </html>
    
    Please login/signup to get access to the terminal.

    Your session has timed out.

    Dismiss (the page may not function properly).