mcupurdija
New Member
I am creating a online text editor. I have using jQuery to store the information on the client side\[code\]$(document).ready(function () { $('#type-name').blur(saveSettings); loadSettings();});function loadSettings() { $('#type-name').val(localStorage.typewriter);}function saveSettings() { localStorage.typewriter = $('#type-name').val();}\[/code\]This will save what the user has wrote but not everything. It seems to only save a certain amount and reverting back to what was there before. But when I leave it for 20 seconds it saves and works. What can I do to change the save rate?