PHP Classes

File: Application/Module/User/Public/Js/admin_group.js

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/User/Public/Js/admin_group.js   Download  
File: Application/Module/User/Public/Js/admin_group.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change: Update JS & CSS for minifying
Date: 7 years ago
Size: 679 bytes
 

Contents

Class file image Download
ADMIN_GROUP = { init: function () { $('.switch-box').bootstrapSwitch({ size: "small" }); $('.input_search').on('keyup', function () { var _v = $(this).val(); if (_v.length >= 2) { $('.perm-row').hide(); $('.perm-title').each(function (i, e) { var _t = $(e).text(); if (_t.indexOf(_v) > -1) { $(e).parent().parent().show(); } }); } else { $('.perm-row').show(); } }); } }; $(document).ready(function () { ADMIN_GROUP.init(); });