JQuery Version Dialog

by morizmartiner

HTML

<!doctype html>
<html>

  <body>
    <div id="dialog" title="Version">
      <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
    </div>
  </body>

</html>

JavaScript

$(function() {
  $("#dialog").dialog().text($.fn.jquery + "/n" + $.ui.version);
});