Posted on Monday, October 13, 2014 APEX and shuttle filter Category APEX and jQuery Here is small tip how to create filter / search field for APEX shuttle item values. For this you need just place jQuery code to page JavaScript Function and Global Variable Declaration. (function($){ $.fn.htmldbShuttlefilter=function(options){ options=$.extend({},{"label":"Filter"},options); return this.each(function(i){ var $self = $(this) ,filterId = $self.attr("id") + "_FILTER" ,$select = $self.find("select") ,shuttleValues = $select.children("option").map(function(){ return {text:$(this).text(),value:$(this).val(),option:this} }) ,$filter = $("<input/>",{"type":"text","value":"","size":"255","autocomplete":"off","id":filterId}) .keyup(function(){ var filterval = new RegExp("^"+$(this).val()+".*","i") ,selectedValues = $select.eq(1).children("option").map(function(){ return $(this).val(); }); $select.eq(0).empty(); $.each(shuttleValues,function(idx,obj){ if(obj["text"].match(filterval) && $.inArray(obj["value"],selectedValues)<0){ $select.eq(0).append(obj["option"]); } }); }) .width($self.width()); $("<div/>",{"css":{"padding-bottom":"5px"}}) .insertBefore($self) .append( $("<label/>",{"for":filterId}) .append($("<span/>",{"css":{"font-weight":"bold"}}).text(options.label)) ) .append("<br/>").append($filter); $self.find("img[alt='Reset']").click(function(){$filter.val("")}); }); } })(jQuery); Then add to page JavaScript Execute when Page Loads $("#Px_SHUTTLE_ITEM_NAME").htmldbShuttlefilter({}); Replace Px_SHUTTLE_ITEM_NAME with your real shuttle item name. See working example.