remember password after jquery post
<p>Here is code</p>

<pre><code>&lt;script type='text/javascript'&gt;

$("#focusform").submit(function(event) 
{

event.preventDefault();

  var $form = $( this ),

        usname = $form.find( 'input[name="name"]' ).val(),

        uspass = $form.find( 'input[name="pass"]' ).val();
        if($('#chk').is(':checked')) var checked='yes';
        else var checked='no';
          $.post("/login/submit/", { name: usname, pass: uspass, checkbox: checked, template_framed:"yes",submit: "yes" }, function(data)
 {


     if(data=='error'){
       alert("You have made an error");

       return false;

     }
     else{
        if(checked=='yes')window.location='/usercookie/';
        else window.location='/login/success/';
        return true;

     }
  });

 });

 &lt;/script&gt;
</code></pre>

<p>But browser doesn't want to promt whether save password or not. Cant't you help me?</p>
