form.submit() to a specific DIV
<p>I want to submit a form using Javascript and jQuery to specific div but I can't work out how to do it.</p>

<p>This code below works, submitting the form to the header of the current page.</p>

<pre><code>    var form,
        chart = this,
        svg = chart.getSVG(chartOptions);

    // merge the options
    options = merge(chart.options.exporting, options);

    // create the form
    form = createElement('form', {
        method: 'post',
        action: options.url
    }, {
        display: NONE
    }, doc.body);

    // add the values
    each(['filename', 'type', 'width', 'svg'], function(name) {
        createElement('input', {
            type: HIDDEN,
            name: name,
            value: {
                filename: options.filename || 'chart',
                type: options.type,
                width: options.width,
                svg: svg
            }[name]
        }, null, form);
    });

    // submit
    form.submit();

    // clean up
    discardElement(form);
</code></pre>

<p>I have tried various options but nothing has worked. In simple terms I want to do this:</p>

<p><code>$('#myDiv').form.submit();</code></p>

<p>Or in other words, send the submit command to the div named <code>myDiv</code>.</p>

<p>Does anyone know how I would do this? Thanks.</p>
