diff --git a/flask_appbuilder/static/appbuilder/js/ab_filters.js b/flask_appbuilder/static/appbuilder/js/ab_filters.js
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/static/appbuilder/js/ab_filters.js
+++ b/flask_appbuilder/static/appbuilder/js/ab_filters.js
@@ -92,7 +92,7 @@ var AdminFilters = function(element, labels, form, filters, active_filters) {
 	var $field = $(form[name])
 	$field.attr('name', '_flt_0_' + name);
 	$field.attr('class', ' filter_val ' + $field.attr('class'));
-	alert($("input < *",$field).html());
+	alert($("* < input",$field).html());
 	$el.append(
         	$('<td/>').append($field)
         );;
Update ab_filters.js