Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] automatic filling of login field
- From: bernu at lptmc.jussieu.fr (Bernu Bernard)
- Subject: [Javascript] automatic filling of login field
- Date: Fri May 4 12:08:16 2007
Thanks for all response. Actually, we would like to avoid to store login and password in cookies and we are looking for solutions without going on the server. So we look for browser capabilities (of course, it is up to the user to keep or not such possibilities) . In fact, I found that most browsers recognize a login form like: <form method="post" ... > <input type="text" name="xxx"/> <input type="password" name="yyy"/> </form> The autocomplettion works perfectly with a standard submit, where a new html page is sent. The question is : how to do that with ajax ? In ajax-like method, the problem comes from the onsubmit of the form which ends with a return false and thus prevent the browser from saving the login/password. Bernard Le 4 mai 07 ? 18:43, Hassan Schroeder a ?crit : > Bernu Bernard wrote: > >> On some site, when there is a login field in a form like >> <form ...> >> <input type="text" name="login"> >> ... >> </form> >> the field is automatically filled the second time you come back to >> that >> site. > >> Is this pure HTML feature or is it some javascript/cookie to do ? > > The value could be inserted server-side or client-side based on a > stored cookie, but it could just be your browser doing it for you :-) > > Try searching on "browser form autocompletion" ... > > HTH, > -- > Hassan Schroeder ----------------------------- hassan@xxxxxxxxxxxxxx > Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com > opinion: webtuitive.blogspot.com > > dream. code. > > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript
- Follow-Ups:
- [Javascript] automatic filling of login field
- From: Hassan Schroeder
- [Javascript] automatic filling of login field
- From: Mike Dougherty
- [Javascript] automatic filling of login field
- References:
- [Javascript] automatic filling of login field
- From: Bernu Bernard
- [Javascript] automatic filling of login field
- From: Hassan Schroeder
- [Javascript] automatic filling of login field
- Prev by Date: [Javascript] automatic filling of login field
- Next by Date: [Javascript] automatic filling of login field
- Previous by thread: [Javascript] automatic filling of login field
- Next by thread: [Javascript] automatic filling of login field
- Index(es):