79163635

Date: 2024-11-06 17:26:25
Score: 1
Natty:
Report link

dialogClass option in jQuery UI Dialog has been deprecated in favor of the classes option.

Here's how to use the classes option to add a custom class to your dialog: JavaScript

$( "#dialog" ).dialog({
  classes: {
    "ui-dialog": "my-dialog-class"
  }
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chad Rainey