var tar = event.target.id;
localStorage.setItem('a', tar);
var json_upload2 = "json_name=" + JSON.stringify({name: ''+window.location.href.split('#')[1]+'', idtime:''+tar+''});@andryu6ka,
$sss = localStorage.getItem('a');
// '+$sss+'
function getData(pageId) {
lo2 = pageId.substr(5); lo1 = pageId.substr(0,5);
var myRequest = new Request(lo1+ '.php', {method: 'POST',headers: { "Content-Type":"application/x-www-form-urlencoded" },
body: 'foo={"name":"'+lo2+'","time":"'+lo2+'","name2":"'+lo1+' "} '}); fetch(myRequest).then(function(response) { return response.text() })
.then(function(text) { myArticle.innerHTML = text;
}); };