title: Jquery EasyUI Accordion
body: <p>Here is the function part , I put it in the main page, which is the page has accordation, it does not work unfortunately.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  $('.easyui-accordion').css('height', '240px') &lt;====this is 
  
  function addTab(title, url){  
      if ($('#tt').tabs('exists', title)){  
          $('#tt').tabs('select', title);  
      } else {  
          var content = '&lt;iframe scrolling="auto" frameborder="0"  src="'+url+'" style="width:100%;height:100%;"&gt;&lt;/iframe&gt;';  
          $('#tt').tabs('add',{  
              title:title,  
              content:content,  
              closable:true  
          });  
      }  
  }  
  
  $(document).ready(function(){
      $("#closeMe").click(function() {
          $(this)
              .parent()
              .slideUp();
      });
  });
  
  &lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>Part 2 and optional: Also, i have some other page also can not call the jquery function properly, would you mind have a look at it?
  This is for calling a popup box using jquery. </p>
  
  <pre><code>&lt;script&gt;
  
  $(function() { $("#openDialog").on('click', loadDialogBox); });
  
  function loadDialogBox() {'
      $("#myEmptyDiv").load("popup.php", function() {
  
        $("#myEmptyDiv").dialog({
           title: "Permission Setting",
           autoOpen: false,
           buttons: { "Submit" : submitDialogForm() }
        });
        $("#myEmptyDiv").dialog("open");
      });
  }
  
  $(document).ready(function(){
  $("#addlist").validate();
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>This is the link which suppose to generate a popup box of popup.php..</p>
  
  <pre><code>&lt;a id="openDialog" href="#"&gt; Permission Settings&lt;/a&gt;
  </code></pre>
  
  <p>That is the last thing , Thank you very much for your help. </p>