how to make browsers to offer password and email store after log in <p>What shall I modify on this code to make it clear to the browsers that "you can save this fields". (For that users who don't want to enter them any time)</p> <p>(browser info and resolution are hidden fields for statistics)</p> <pre><code>&lt;form id='log_in' action='/_fn/log_in.php' method=post&gt; &lt;ul id='m1_bal'&gt; &lt;!--&lt;li&gt;&lt;a HREF='/print' TITLE='belépés' tabindex=3&gt;&lt;img WIDTH=32 HEIGHT=32 ALT='' SRC='/images/menu1/nyil.png'&gt;&lt;/a&gt;&lt;/li&gt;--&gt; &lt;li&gt;&lt;input type=submit value='belépés' tabindex=3&gt;&lt;/li&gt; &lt;li&gt;&lt;!--[if IE]&gt;jelszó:&lt;![endif]--&gt;&lt;input name='password' tabindex=2 type=password placeholder='jelszó'&gt;&lt;/li&gt; &lt;li&gt;&lt;!--[if IE]&gt;email:&lt;![endif]--&gt;&lt;input name='email' tabindex=1 type=text placeholder='email'&gt;&lt;/li&gt; &lt;input name='felbontas' type=hidden&gt; &lt;input name='bongeszo' type=hidden&gt; &lt;input name='href' type=hidden&gt; &lt;/ul&gt; &lt;/form&gt; </code></pre> <p>The javascript code:</p> <pre><code>$('#log_in').submit(function(e){ //browser info var b = "?"; if( $.browser.msie)b = "IE"; if( $.browser.webkit)b = "Webkit";//Chrome/Safari if( $.browser.opera)b = "Opera"; if( $.browser.mozilla)b = "Mozilla"; var bongeszo = b+" "+$.browser.version; //resolution var felbontas = $(document).width()+"x"+$(document).height(); /* METHOD 2 $(this).find('input[name=bongeszo]').val(bongeszo); $(this).find('input[name=felbontas]').val(felbontas); $(this).find('input[name=href]').val(window.location.href); */ e.preventDefault(); $.post($(this).attr('action'),{ email: $(this).find('input[name=email]').val(), password: $(this).find('input[name=password]').val(), felbontás: felbontas, böngésző: bongeszo },function(answer){ if(answer=="1")window.location.reload();else alert(answer); }); }); </code></pre> <p>If you say: dont use ajax, I tell, that I have tired it without it too. See: METHOD 2</p>