Change HTML button value on pageload – Jquery ajax
I have a login page and I am storing the localStorage key's value i.e. username taken from login page to a variable using var unameVar=localStorage.getItem('uname'). Now I want to assign the value of unameVar to a button. To put it…