Here's a JQuery UI dialog containing a very basic login form:
var dlg = $('\
<div>\
<form action=/dummy>\
<p><input name=username type=text></p>\
<p><input name=password type=password></p>\
<p><input type=submit value="Log in"></p>\
</form>\
</div>\
');
dlg.dialog({
closeText: 'cancel',
hide: 'fade',
modal: true,
close: function()
{
dlg.remove();
}
});
(jsFiddle)
Firefox offers to save the details when I press the button, but does not later use the saved details in any way. How can I convince Firefox to fill them in?
I tried using the techniques mentioned in this question but they didn't seem to help.