Inserting upload script into existing form page does not process upload?
<p>I have a file upload script which works great when opened from the calling page via window.open(). However, I'm trying to avoid the popup window and load the script into the calling page itself (via jQuery.load()).</p>

<p>However, although everything appears to work fine, the file does not actually get transferred. The calling page is itself a form. Could that cause the problem?</p>

<pre><code>&lt;form id="myParentPage"&gt;

    &lt;div id="myUploadPlaceholder"&gt;&lt;/div&gt;

    &lt;input type="button" id="loadScript" value="Test" /&gt;


    &lt;script type="text/javascript"&gt;
    $(document).ready(function()
        {
        $('#loadScript').click(function() {
            $('#myUploadPlaceholder').load('myUploadScript.php?action=test' );
        });
    });
    &lt;/script&gt;

&lt;/form&gt;
</code></pre>
