mardi 31 mars 2015

how to refresh form on closing jquery dialog box?


Vote count:

0




This is my code :



<script type="text/javascript">
$(function () {
$("#divTimezone").dialog({
autoOpen: false,
modal: true,
height: 270,
width: 550,
close: function () {

}
});
$("#linkCreate").click(function () {
$("#divTimezone").dialog("open");
});

});
</script>
<div id="divTimezone">
@Html.Partial("_Create", new Aegis.Lisa.Library.Time_Zone())
</div>


When i close the modal popup and reopen it then the textbox values, validators values etc are not reset. They remain in the same state as i entered values previously. How to reset the form on close?



asked 37 secs ago







how to refresh form on closing jquery dialog box?

Aucun commentaire:

Enregistrer un commentaire