Using accordion and sexy combo

Using accordion and sexy combo

Hi,

I am pretty new and got a following problem...

case:

We got an accordion and within this accordion we got an sexy-combo-box

<script type="text/javascript">

    $(document).ready(function(){
    $("#accordion").accordion();
   
  });
   $("#basic-combo").sexyCombo();
  </script>


<div id="accordion">
   <h3><a href="#">Form A</a></h3>
   <div>
      <p>Please fill out the following:</p>
      <p>1. What cookies do you like?</p>
      <p><select id="basic-combo" name="resObj"  size="2">
           <option>jelly</option>
           <option>biscuit</option>
           <option>chocolate</option>
            </select>
        </p>
      <p>2. What ice cream do you like?</p>
      <p><select id="empty-combo" name="sort"  size="2">
           <option>strawberry</option>
           <option>chocolate</option>
           <option>vanilla</option>
            </select></p>
      <p>3. please tell us, how did you get attention to this site?</p>
      <p>
         <textarea style="width: 400px; height: 84px; min-height: 80px;" class="expanding" name="myTextarea"></textarea>
      </p>
   </div>
   
   
   <h3><a href="#">Form B</a></h3>
   <div>
...



problem:
- accordion works fine, but sexy combo does not, you can just see the "normal" selection-box


already tried/strange phenomenon:
- removing $("#accordion").accordion(); causes that sexy combo works

possible reason:
- accordion starts before the sexy combo object ...after all the sexy combo object is not being loaded or some sort of "hidden" by the accordion object

does someone has an idea what the reason for this behavior could be ? or how to fix it ?

best regards

leejin