Setting a select value in a fieldset
<p>I am using awesome_nested_fields (rails gem) and do this to insert some item:</p>

<pre><code>$('#orderlines').nestedFields('insert', function(item) {
   console.log(item)
}, {skipBefore: true});
</code></pre>

<p>This gets returned to the console:</p>

<pre><code>[fieldset.item, constructor: function, init: function, selector: "", jquery: "1.7.2", size: function…]
    .   0: fieldset.item
    .   accessKey: ""
    .   attributes: NamedNodeMap
    .   elements: HTMLCollection[6]
    .   firstElementChild: div.control-group
        .   form: form#new_client_order.simple_form new_client_order
            .   0: input
            .   1: input
            .   2: input#client_order_order_date.custom_datepicker optional custom_datepicker_selector
            .   3: input#order_date_hidden.custom_datepicker optional
            .   4: fieldset.item
            .   5: select#client_order_order_lines_attributes_1358562768745_product_id
                .   0: option
                .   1: option
                .   accessKey: ""
                .   attributes: NamedNodeMap
                .   value: "12"

... cut out fields that were irrelevant
</code></pre>

<p>My question:</p>

<p>How can I set the value (that is now 12) to 16 ?  The select always ends on _product_id</p>
