PHP Classes

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

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/User/Public/Js/admin_user.js   Download  
File: Application/Module/User/Public/Js/admin_user.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: 714 bytes
 

Contents

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