Wednesday, March 11, 2015

hide the title bar and close button in jQuery UI

$j("#myDiv").dialog({
  create: function(event, ui) {
    $j('.ui-dialog-titlebar').hide(); // hide the title bar.
    $j('.ui-dialog-titlebar-close').hide(); // hide the close button.
  },
});

No comments: