Remove data from JQuery dialog box when I close it

后端 未结 5 1359
醉话见心
醉话见心 2021-02-06 00:31

I have JQuery dialog box for inserting new row in table. And everything works good. Few days ago when I inserted FlexiGrid for Table started a problem for me. When I insert new

5条回答
  •  青春惊慌失措
    2021-02-06 01:10

    You can make use of the close event of jQuery dialogs.

    More information on jQuery UI.

    e.g.

    $( "#newDialog-form" ).dialog({
        ...
        close : function() {
            //functionality to clear data here
        }
    });
    

提交回复
热议问题