This is my jquery code
$.ajax({ url: \"PopUpProductDetails.aspx\", cache: false }).done(function (html) { $(\"#dialog\").append(htm
Inside the function clear the dialog first and then fill up with the content
$.ajax({ url: "PopUpProductDetails.aspx", cache: false }).done(function (html) { $("#dialog").html(""); $("#dialog").html(html); });