adsense

Tuesday, March 7, 2023

jquery dialog remove title bar

If we wanted to remove  jquery dialog  title for a specific modal, use create event as show below
 $("#details").dialog({
    modal: true,
    create: function() {
      $(".ui-dialog").find(".ui-dialog-titlebar").css({
        'background-image': 'none',
        'background-color': 'white',
        'border': 'none'
      });
    }
  });

Cheers,
Samitha


No comments:

Post a Comment