//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
email mailto: pretext
<a href="mailto:designoutsourced.com+info@gmail.com?subject=Maklumat%20lanjut%20pakej&body=Hai,%20saya%20berminat%20tahu%20lebi...
-
Looking at vue-cli repository I see two different ways of scaffolding vue projects. The v3 (beta) version, installed as npm install ...
-
component need at least this 3 component file 1. customers.component.ts import { Component , OnInit } from '@angular/core...