Skip to content

jQuery-based show or hide DOM by :radio, :checkbox checked attribute.

Notifications You must be signed in to change notification settings

silexkr/parent.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

parent.js

parent.js is jQuery-based show or hide DOM by :radio, :checkbox checked attribute.

depedencies

<html>
  <head>
    <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
    <script src="http://underscorejs.org/underscore-min.js"></script>
    <script src="./lib/jquery-metadata.js"></script>
    <script src="./parent.js"></script>
  </head>
  <body>
    <input type="radio" value="1"/> show
    <input type="radio" value="2"/> hide
    <div class="parent" data="key:['1']">
      hello world
    </div>
  </body>
</html>

License

MIT License

About

jQuery-based show or hide DOM by :radio, :checkbox checked attribute.

Resources

Stars

Watchers

Forks

Packages

No packages published