--- ajaxtable/ajaxtable.module	2008-01-09 19:48:35.000000000 -0600
+++ sites/all/modules/ajaxtable/ajaxtable.module	2009-05-19 16:44:47.000000000 -0500
@@ -551,9 +551,9 @@ function _ajaxtable_render($table,$id,$u
     // When enter is pressed, don't submit the form (if table is used as input)
 		//if (window.event.keyCode == 13) { ' . $js_call . "}
     $keypress_search = 'if (event.which == 13) {' .$js_call . ';return false;}';
+    $onchange_search .= ' onchange="' . $js_call . '" ';
     if ($table['autosearch'] && !$table['refresh_search']) {
       $keyup_search .= ' onkeyup="' . $js_call . '" ';
-      $onchange_search .= ' onchange="' . $js_call . '" ';
       $search_button = '<span class="ajaxtable-' . $table['theme'] . '-cluetip-title" title="Auto-search|The table will refresh as you type with the results of your search."><div class="ajaxtable-' . $table['theme'] . '-autosearch-icon"></div></span>';
     } else {
       $js_call = ' onclick="' . $js_call . '" ';
@@ -1072,6 +1072,21 @@ function ajaxtable_search_inputs($search
 			$input['type'] = 'text';
 		}
     switch ($input['type']) {
+      case 'select':
+        $options = '<option value="" ';
+        if (empty($input['default_value'])) {
+          $options .= 'selected ';
+        }
+        $options .= '></option>';
+        foreach ($input['options'] as $value => $label) {
+          $options .= '<option value="'. $value .'" ';
+          if ($input['default_value'] == $value) {
+            $options .= 'selected ';
+          }
+          $options .= '>'. $label .'</option>';
+        }
+        $rendered[$input['id']]['input'] = '<select value="{get_start}{id}' . $input['id'] . '{get_end}" {keypress} {onchange} ' . $attributes . '>'. $options .'</select>';
+        break;
       case 'text':
         $rendered[$input['id']]['input'] = '<input value="{get_start}{id}' . $input['id'] . '{get_end}" onfocus="this.select()" {keypress} type="text" value="' . $input['default_value'] . '" ' . $attributes . ' />';
 				break;
