javascript - Persist user name when login fails -


my app built on html (bootstrap), javascript (jquery).

my login form has input user name , password. how can persist user name when login fails? cross-browser?

thanks helpful tips!

use jquery store in cookie:

$.cookie("username",theusername); 

Comments

Popular posts from this blog

gcc - Calling fftR4() in c from assembly -

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

reflection - Prism + Log4Net build error : "Cannot resolve dependency to assembly log4net" -