contentReturns: String|Dialog

Gets or set the content of a dialog. Supports chaining when used as a setter.

Parameters

NameTypeDescription
content {String} The content of the Dialog.

Examples

sample

    
 <div id="dialog">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <button onclick="alert(dialog.content())" class="btn btn-default">Get Content</button>
 <button onclick="dialog.content('New Test Content Value')" class="btn btn-default">Set Content</button>
 <script>
     var dialog = $('#dialog').dialog({ uiLibrary: 'bootstrap' });
 </script>