isset($_POST['submit']) issue
<p>I'm having hard times  finding out why the code doesn't work...
so there's a form with a submit button whitch is supposed to be disabled after the request is sent.</p>

<p>php:</p>

<pre><code>&lt;form action="buy.php" method="post" onsubmit="zapret()"&gt;
....
&lt;input id="submitOtbor" type="submit" name="submit" value="Отправить" /&gt;
&lt;/form&gt;
</code></pre>

<p>javascript:</p>

<pre><code>function zapret()
{
   var btn = document.getElementById(\'submitOtbor\').disabled = true;
   $(\'#result_5\').show();
   return false;

}
</code></pre>

<p>well, after the submit button is pressed isset($_POST['submit']) in buy.php can't catch variables from the form...</p>

<p>could someone help me with that?</p>
