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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -