How to POST additional values from inputs outside the form
<p>I have following form:</p>

<pre><code>&lt;table width="250" cellspacing="2" cellpadding="5" border="0" bgcolor="#ffffff" id="inner_table"&gt;&lt;tbody&gt;&lt;tr&gt;
    &lt;td align="center" style="font: 12px arial, helvetica, sans-serif; color: #000000;" id="main"&gt;

            &lt;script type="text/javascript"&gt;
                function validateRegistered() {

                    return true;
                }
            &lt;/script&gt;
            &lt;form method="post" name="registered" onsubmit="return validateRegistered()"&gt;
            &lt;input type="hidden" name="url" value=""&gt;
            &lt;input type="hidden" name="ip" value="192.168.96.10"&gt;
            &lt;input type="hidden" name="code" value="d"&gt;
            &lt;div style="display: none;"&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;
            &lt;table cellpadding="4" border="0"&gt;

                &lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Name: &lt;/td&gt;&lt;td&gt;&lt;input type="text" name="data1" style="width: 120px"&gt;&lt;/td&gt;&lt;/tr&gt;

                &lt;tr&gt;&lt;td&gt;Email: &lt;/td&gt;&lt;td&gt;&lt;input type="text" name="data2" style="width: 120px"&gt;&lt;/td&gt;&lt;/tr&gt;

                &lt;tr&gt;&lt;td colspan="2" align="center"&gt;&lt;input type="submit" value="CONNECT" style="font: 12px arial, helvetica, sans-serif"&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;/tbody&gt;&lt;/table&gt;
            &lt;br&gt;
            &lt;div style="display: none;"&gt;&lt;/div&gt;
            &lt;/form&gt;
</code></pre>

<p></p>

<p>This is a fixed code that is displayed by tag <code>&lt;!--LOGIN--&gt;</code> so I have no access to it what so ever and cannot modify.</p>

<p>Now is there a way I can send values of 2 additional inputs with the existing form upon submit to the destination page?</p>