//editable cookies enable $(function(){ var liveEdit = document.getElementById('live-edit'); $(liveEdit).blur(function(){ localStorage.setItem('liveEditData', this.innerHTML); }); //when the page loads if ( localStorage.getItem('liveEditData')){ liveEdit.innerHTML = localStorage.getItem('liveEditData'); } }); //end function of contenteditable $(function(){ var editUser = document.getElementById('edit-user'); $(editUser).blur(function(){ localStorage.setItem('editUserData', this.innerHTML); }); //when the page loads if ( localStorage.getItem('editUserData')){ editUser.innerHTML = localStorage.getItem('editUserData'); } }); //end function of contenteditable
All muhaza's note in developing website. Front-end & uiux method. Real life implementation for webdesigner.
Thursday, 25 October 2018
JS : Contenteditable Save data at local
Tembus Gmail dengan TXT record
Type: TXT Name: @ / domainname.com Loadtime : 14400 Value: v=spf1 a mx ip4:SERVER_IP include:netkl.org ~all
-
» Go to MIT.edu » Go to Weather.gov <a href="http://www.mit.edu/" target="myDemoFrame" >» Go to MIT.edu</...
-
http://www.michaelsboost.tk/WebDGap/app/ https://gonative.io/new