javascript - JQuery UI dialog modal caching old values -
i'm having big problem using using jquery dialog. dialog displayed when user clicks on link. first time form opened, works fine; form submitted server, , part of page updated.however, subsequent attempts use form problems start. when click on hyperlink second time, (with closing dialog or without closing dialog), showing old values. happens if navigate different screen in application , return. content of page re-rendered after each submission includes form makes dialog, 'old' values being submitted no longer exist in page markup. being somehow 'remembered' jquery ui.
$(document).on("click", "#hyperlink", function () { $("#divsection").dialog({ title: "user details", resizable: false, autoopen: false, height: 'auto', width: 300, appendto: "form" }); });
i don't know how work around behaviour, can please me how resolve this?
Comments
Post a Comment