How do I change a single value inside a localStorage item?
问题 I have a set of items that get saved but I'm trying to change a value after I retrieve it and before I pass it of to my php function. Is it possible to change just one item? My string of items looks like this: var args = window.localStorage.getItem("localusers"); start=0&type=1 I'm saving the localusers item like so: window.localStorage.setItem('localusers', $("#profile_form_id").serialize()); I'm trying to set the value of type to a 6 I can't find a supported method that allows me to get/set