|
Posted by rf on 07/05/07 07:45
"Ton den Hartog" <ton.den.hartog@tonh.net> wrote in message
news:468c9d3c$0$320$e4fe514c@news.xs4all.nl...
> That is already done but a simple page like below doesn't trigget FF to
> ask to remember...
> <form name="form1" onsubmit="alert('Hello');">
> <input type="password" name="textfield">
> </form>
Probably because it is not a valid form. The required "action" attribute is
missing. I would imagine the browser would use the contents of the action
attribute, along with the URL of the page, as a key to the saved pasword. No
action, no save. More to the point, no action, no *need* to save since that
form is not going anywhere.
As the specification state about action: "User agent behaviour for a value
other than an HTTP URI is undefined".
--
Richard.
Navigation:
[Reply to this message]
|