html - How to store files in local storage using jquery -
i store uploaded files locally(local-storage) using jquery can me
<input name="file" type="file" /> <input type="button" value="store" /> </form>
note
you cant upload , store files using localstorage.
if want use local storage,you dnt need jquery. html5 provides feature.
localstorage.setitem('userid','2'); //to set data var userid = localstorage.getitem('userid'); // data localstorage.removeitem('userid'); //to remove data refer link more details local storage
Comments
Post a Comment