views:

108

answers:

0

So, what I would like to do is take one form element and add it to another one:

<!-- original -->
<dl class="zend_form">
    <dt>label</dt>
    <dd><input id="1"></dd>

    <dt>label</dt>
    <dd><input id="2"></dd>
</dl>

<!-- desired outcome -->
<dl class="zend_form">
    <dt>label</dt>
    <dd>
        <input id="1">
        <input id="2">
    </dd>
</dl>

How can I achieve this?