jQuery $(html, props) (DOM creation) ignores props map
<p>I'm unable to correctly create DOM elements using jQuery (1.3.2):</p>

<pre><code>var ev_t;
$("#add-event").click(function() {
    ev_t = $("&lt;form&gt;", { action : "someURL" }).hide().appendTo(document.body);
    var fields = $("&lt;div&gt;").appendTo(ev_t);
    fields.load("someURL", function() {
        $("&lt;input&gt;", { type: "submit", value: "Add" }).appendTo(ev_t);
        ev_t.dialog();
    });
    ev_t.submit(function() {
        // form submission ...
        return false;
    });
    return false;
});
</code></pre>

<p>The  and  elements are inserted but <strong>none of the attributes</strong> (form action and input type and value) <strong>are set</strong>. What am I doing wrong?</p>
