title: Jquery inside modal box function
body: <p>I use next function to build  Modal box. And I need  jquery combo box inside that modal box.</p>
  
  <pre><code>      function launchModal(id) {
          jQuery('body').append('&lt;div id="catmodal" title=""&gt;&lt;select id="ac_s1"&gt;&lt;option value="Home Security"&gt;&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;');
          jQuery('#'+id).dialog({
            resizable: false,
            height: 370,
            width: 900,
            modal: true,
            buttons: {Close: function(){jQuery(this).dialog('close');}},
            close: function(event, ui){jQuery(this).dialog('destroy').remove();}
          });
  </code></pre>
  
  <p>And I wrote </p>
  
  <p>jQuery(document).ready(function(){
          jQuery("#ac_s1").combobox();
  }</p>
  
  <p>But it works only outside modal box function, if I insert  inside of modal box function content, it stops working and simple html Select menu appears.</p>
  
  <p>How to solve it??? </p>