title: how to set content on Jquery dialog
body: <pre><code>$("#note_content").dialog({
              title: "Note",
              modal: true,
              width:'auto',
              height:'auto',
              resizable:false,
  
              open: function(){
                  var note_text = $('#note_content').attr('note_text');
       }
  }
  </code></pre>
  
  <p>In my code I am trying set note_text as content of dialog, any idea how could I do this?</p>