Dynamic Editing of form action path
<p>I want to edit the form action url dynamically.my current code is like</p>

<pre><code>    function Fbsubmit()
      {
    var cont=document.getElementById("viewcontent").value;
    var title=document.getElementById("noteheadid").value;
    var loc='http://122.98.15.171/xyx/phptest.php'+'?title='+title+'&amp;cont='+cont;
    location.href=loc;
      }
</code></pre>

<p>here the problem is that user will be able to change the url while its loading the page.Can anyone suggest way to convert it as a post method</p>
