Código:
En este popup muestro un formulario, el tema es que al enviar el formulario y procesarlo por php quiero que automaticamente ese popup se cierre y recargue la ventana padre, alguien me podría explicar como hacerlo ya que estoy probando y no encuentro la solución.<script type="text/javascript">
$(document).ready(function() {
$(function() {
$("a.dialog_link").click(function(e){
e.preventDefault();
var url = $(this).attr('href');
var iframe = $('<iframe src="'+ url +'" />');
iframe.dialog({
autoOpen: true,
title: "Reportes",
width: 989,
height: 500,
modal: true,
resizable: false,
buttons: {
"Cerrar": function() {
$(this).dialog('close');
}
}
}).width(989 - 12).height(500 - 15);
});
});
});
</script>
Gracias
Ariel


