Update list on change event
[infodrom.org/service.infodrom.org] / src / InfoCon / account / list.wml
index ca9b3fe..7bbbfa3 100644 (file)
@@ -178,6 +178,15 @@ function filter_popup()
                      'handle': 'div#filter_title'
                  }).css('top', '70px').css('left', '103px');
 
+                 $('#filter_popup form input,#filter_popup form select').not('input.button').change(function(e){
+                     $.post('list.php',
+                            'ajax=1&'+$('#filter_popup form').serialize(),
+                            function(data){
+                                $('table.border tbody').html(data);
+                            });
+                     return false;
+                 });
+
                  $('#filter_popup form input.button[type="submit"]').click(function(e){
                      $.post('list.php',
                             'ajax=1&'+$('#filter_popup form').serialize(),