0%

Hey! Do you have any query related to front end?

Sign in Sign up

Master checkbox controlBack

This is a very good and simple example to control all of the other checkbox like gmail.

Master checkbox HTML


Label tag has been initialized with "masterCheckBoxCon" class and input element has been initialized with "masterCheckbox" id. Which will fire a "change" event. So to grab this element "masterCheckbox" id has been set.

Sub checkbox initialization

  • .......... .......
  • Rest of all sub checkbox will be initialized with "messageCheckBox" class. This can be any thing as per your choice. But one has to change it accordingly in javaScript.

    JavaScript Code

    
    

    How to comment:

    • Create an account in discuss by clicking on login next to arrow.
    • Create password for discuss and varify your email id, through your mail.
    • Refresh page and comment.

    You might also like

    • Side pusher hamburger menu

      Side pusher hamburger menu is a better way put more content on the page.

      • 416
      • 8
      • 416
      • facebook icon
      • twitter icon
      • google plus
    • Validate email by javascript regex

      Validate email field by regular expression

      • 198
      • 4
      • 198
      • facebook icon
      • twitter icon
      • google plus
    • Smooth parallaxt effect on mouse move

      Very smooth parallax effect on mouse movement

      • 309
      • 6
      • 309
      • facebook icon
      • twitter icon
      • google plus

    Latest quries posted

    gopa kumarabout 3 years ago

    amit singhabout 3 years ago

    rahmat aliabout 3 years ago

    mandavi tiwariabout 3 years ago

    rahul sharmaabout 3 years ago

    Ask question
    Latest video
    Learn Angular
    Profile pic
    Guest Back
    Username
    Password