window.onload = function () {
"use strict";
emailText = document.getElementById("email");
passText = document.getElementById("pass");
quantityText = document.getElementById("quantity");
usernameText = document.getElementById("username");
dateText = document.getElementById("date");
Text = document.getElementById("Text");
myform = document.getElementById("myform");
myform.addEventListener("submit", window.serialize);
emailText.value = window.localStorage.getItem("email");
passText.value = window.localStorage.getItem("pass");
quantityText.value = window.localStorage.getItem("quantity");
usernameText.value = window.localStorage.getItem("username");
dateText.value = window.localStorage.getItem("date");
Text.value = window.localStorage.getItem("Text");
};
function serialize() {
"use strict";
window.localStorage.setItem("email", emailText.value);
window.localStorage.setItem("pass", passText.value);
window.localStorage.setItem("quantity", quantityText.value);
window.localStorage.setItem("username", usernameText.value);
window.localStorage.setItem("date", dateText.value);
window.localStorage.setItem("Text", Text.value);
}
я прочел пару кодов по превращению в jquery по частям но ни один из них не сработал, так что я ищу помощь или сайт где можно четко посмотреть что надо сделать
Современные инструменты для криптотрейдинга: как технологии помогают принимать решения
Апостиль в Лос-Анджелесе без лишних нервов и бумажной волокиты
Основные этапы разработки сайта для стоматологической клиники
Продвижение своими сайтами как стратегия роста и независимости