How to submit form without button?
<p>I am new here. I want my code to submit form without submit button. My code run like this:
Every time when user input data in input text and press enter, the result will be display on the same page just below input text. This code will work perfectly is I use submit button to submit data. Can anyone help me with this ? Thanks in advance.</p>

<p>This is my result.html</p>

<pre><code>$(document).ready(function(){
$("#code").change(function(){
    var st = '';
    $('#Myform input[type=text]').each(function(){

        st = st+ '&lt;td&gt;'+$(this).val()+'&lt;/td&gt;';
        $(this).val('');
    });
    $('#result').append('&lt;tr&gt;'+st+'&lt;/tr&gt;');
});
</code></pre>

<p>});</p>

<p><code>html</code></p>

<pre><code>&lt;form id="Myform"&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;
                &lt;p&gt;Code:&lt;/p&gt;
            &lt;/td&gt;
            &lt;td&gt;&lt;input id="code" type="text" name="code" size="40" autofocus/&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
&lt;/form&gt;
&lt;table id="result"&gt;&lt;/table&gt;
</code></pre>

<p>This is my code.php</p>

<pre><code>&lt;?php if( $_REQUEST["code"] ) {$code = $_REQUEST['code'];}?&gt;
</code></pre>