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

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

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -