0db6c823a2cd66fdfd97b80c69577d69a634eac3
larrym
  Wed Nov 2 20:27:11 2011 -0700
replace some instances of $(#...) with document.getElementById
diff --git src/hg/js/ddcl.js src/hg/js/ddcl.js
index 0970ac8..3c0b3b0 100644
--- src/hg/js/ddcl.js
+++ src/hg/js/ddcl.js
@@ -73,31 +73,31 @@
         $(controlLabel).css('color',newTextColor ); // could be empty string, thus removing the color
         $(controlLabel).html(msg);
     },
 
     onOpen: function (event) {
         // Called by a DDCL onClick event (when the drop list is opened)
         var controlSelector = this;
 
         // Set the label
         var control = $(controlSelector).parent();
         mySelf.labelSet(control,"Select multiple...",'#000088','Selecting...');
 
         // Find the active 'items' and original 'options'
         var id = $(control).attr('id').substring('ddcl-'.length);
         var dropWrapper = $('#ddcl-' + id + '-ddw');//.first();
-        var multiSelect = $('#' + id);
+        var multiSelect = $(document.getElementById(id));
         var allCheckboxes = $(dropWrapper).find("input.active");
         var selectOptions = multiSelect[0].options;
 
         // Special juice to handle "exclude" options based upon competing filterBoxes
         try {
             if(($(multiSelect).hasClass('filterComp')  && filterCompositeExcludeOptions(multiSelect))
             || ($(multiSelect).hasClass('filterTable') && filterTableExcludeOptions(multiSelect))) {
 
                 // "exclude" items based upon the exclude tag of the true options
                 allCheckboxes.each(function(index) {
                     var item = $(this).parent();
                     if($(selectOptions[index]).hasClass('excluded')) {
                         $(item).addClass("ui-state-excluded");
                     } else //if($(item).hasClass("ui-state-excluded"))
                         $(item).removeClass("ui-state-excluded");