$('#srch').click(function(e){
if ($("#form").validationEngine({returnIsValid:true})) {
$("#loader").dialog('open');
$.ajax({
type: "GET",
url: "/cdr/abc.php",
cache: false,
data: $("#srch").serialize(),
timeout: 5000,
error: function (XMLHttpRequest, textStatus, errorThrown) {
//ajaxSubmitError(XMLHttpRequest, textStatus, errorThrown);
},
success: function (data) {
$('#submit-dialog').dialog('close');
}
});
e.preventDefault();
}
});
In The Above Function Iam Not able to navigate to the The Action (php) Page.and The Dialog runs Indefinitely and how should i close the dialog when The Form submits