Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on('click', 'a#user_list', function () {
- //muestra la lista
- getUserList(this);
- });
- $(document).on('click', 'a#user_form', function () {
- //muestra formulario
- showUserform(this);
- });
- //actualiza cada cierto tiempo
- $(document).ready(function() {
- var refreshId = setInterval( function(){
- //muestra la lista
- getUserList(this);
- }, 'json');
- }
- }, 1000 );
- });
Add Comment
Please, Sign In to add comment