title: show html code in jquery dialog
body: <p>in php I use ckeditor to input text value,now I want to show it to jquery dialog,however, my dialog also show the html code on popup.   </p>
  
  <p>how can we show the content of html on popup? </p>
  
  <p>here is my popup.</p>
  
  <pre><code>$(document).ready(function(){
      $(".popup").click(function(){   
           var value = $(this).attr("value");
           $.post("/news/index.php?r=news/detail&amp;id="+value,function(data,status){             
              if(data != null){
                  var obj = jQuery.parseJSON(data);
                  var description = obj.description;
                  $('#description').text(description);
  
                  $( "#dialog-message" ).dialog({
                       modal: true,                   
                       buttons: {
                       Ok: function() {
                           $( this ).dialog( "close" );
                           }
                       }
                  });
              }
           });         
  
      });
  });
  </code></pre>
  
  <p>index.php</p>
  
  <pre><code>&lt;div id="dialog-message"&gt;
      &lt;table&gt;     
          &lt;tr&gt;
              &lt;td&gt;short Content&lt;/td&gt;
              &lt;td id="description"&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;        
  &lt;/div&gt;
  </code></pre>
  
  <p>the text show on dialog:</p>
  
  <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;test for description&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;
  </code></pre>
  
  <p>in result,there is any ways show the text 'test for description' by html declare in dialog ?   </p>
  
  <p>thank you very much</p>