how I can create and add new options for jQuery dialog?
for example: I like that through on the setting options can control the display of title bar or display the close button.
The script would be like this:
$("#message").dialog({
showTitle:false, //new option (hide Title bar)
showCloseButton:true //new option (show close button)
modal:true... //other options
})
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…