I want to have a modal window opened and I’ve set modal to true in my code. But it does not work as expected:
$("#fileuploadfun").attr('title',"Upload");
$("#fileuploadfun").dialog( "option", "modal", true );
How can I solve this issue ?
Try the
.dialoginitialiser syntax:According to the documentation, the syntax you’ve used there is for setting the modality after the dialog has been initialised.