0
我在我的網站上有一個事件,如果您單擊按鈕導航文本更改,我希望它在整個網站中保留。現在它可以工作,但是一旦我移動到新頁面,它就會變回原始狀態。使用.replaceWith更改導航文本並保持其持久
$('.create-regulatory-release').click(function(){
$('.setup p').replaceWith('<p>Regulatory Filing</p>');
});
設置當你改變它,並檢查該'上的每一頁document.ready'的cookie。 – Archer