Session Storage

You can use Session storage to store the value within the browser

 if (typeof Storage !== 'undefined') {
                        sessionStorage.setItem('taxstates', JSON.stringify(result.statelist));

}
.
.
.
.
var data=(sessionStorage.getItem('taxstates') // to get data

Leave a comment

Your email address will not be published. Required fields are marked *