亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - Clear data after bootstrap modal box popup
曾經(jīng)蠟筆沒(méi)有小新
曾經(jīng)蠟筆沒(méi)有小新 2017-05-18 11:00:07
0
1
589

But after each click, the data is still the data of the previous click. New data will only be displayed after refreshing, using

 $("#showModal").on("hide.bs.modal", function() {  
                $("#showModal").removeData("bs.modal");  
            });
這個(gè)方法  還是清除不了  是什么原因呢?
    查閱了資料,說(shuō)是removeData方法只是針對(duì)JQuery中data()函數(shù)綁定的數(shù)據(jù)的清除,對(duì)于bootstrap不管用,還有其他的什么辦法嗎?
    
    ![這是點(diǎn)了第一次的數(shù)據(jù)條數(shù)][2]

曾經(jīng)蠟筆沒(méi)有小新
曾經(jīng)蠟筆沒(méi)有小新

reply all(1)
劉奇

$('#showModal').data()

Can get all the objects of this modal box

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template