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

Admob integration with pygame in android -

Function that returns a formatted array in VBA -

python - performance - finding all points within certain distance by lat/long -