I need to return the default value of a Jquery dialog after having been changed to show: “slow”.
I have a normal dialog:
$( ".selector" ).dialog();
that change after a dialog with effect:
$( ".selector" ).dialog({ show: "slow" });
and I need put its default value. What is the Effect “none”?
i try this but it not work for me:
$( ".selector" ).dialog({ show: "" });
From the Dialog’s API documentation:
For example,
You may want to check How can I change a jQuery UI widget’s options after it has been created? to avoid reinitializing it everytime.