This question have many answers out there but none of those answers solved my problem. I have a modal with some tags. I am trying to save the value
thats my modal window
$(function () { $("#dialog").dialog({ modal: true, autoOpen: false, title: "Column Preferences", button: "save", width: 750, height: 620 });
try this to close or hide the window
$('#dialog').dialog('close');