I have set a data to the javascript localstorage, i want to edit the data, which i am passing dynamic content . my code is
$(".table tr."+data_name+"").each(function(){
countss++;
selected.push("<table class='str"+countss+"' data-name='"+data_name+"' style='width:655px;'><tbody><tr><td>"+$(this).find('td').text()+"<span><input type='number' min='100' class='productQuantity quantityUpdate"+count+"' data-name='"+data_name+"' data-count='"+count+"' value='100' style='float:right;'/></span></td></tr></tbody></table>");
});
var values = selected.join('<br>');
localStorage.setItem(data_name,values);
here i want to edit the data which is dynamic in the push data
anybody have idea to change the dynamic value ?
without extract the local storage html content?