Guest User

Untitled

a guest
Jul 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. YUI().use('node', 'io', 'json-parse', 'yui', 'event-simulate', 'substitute', function(Y) {
  2.  
  3. Y.one('#inheritAll').on('click', function () {
  4.  
  5. Y.all('input[value=minus_one]').set('checked', true);
  6.  
  7. });
  8.  
  9. Y.one('#grantAll').on('click', function () {
  10.  
  11. Y.all('input[value=one]').set('checked', true);
  12.  
  13. });
  14.  
  15. Y.one('#denyAll').on('click', function () {
  16.  
  17. Y.all('input[value=zero]').set('checked', true);
  18.  
  19.  
  20. });
  21.  
  22. });
Add Comment
Please, Sign In to add comment