javascript - Get/Set value of field in PageBlockTable -
i have pageblocktable in visualforce page, in table allowing users via jquery .sortable rearrange order of rows. no, want store sorting on page save, have created new parameter on product in salesforce called sort_order number field. i update field, in table , hidden each time rows dragged, on save stored. i have following code, trying loop through table , update fields appropriatley, can't work out jquery syntax setting value of field. here code creates table: <apex:pageblock title="selected {!$objecttype.product2.labelplural}" id="selected"> <apex:variable value="{!1}" var="index"> <apex:pageblocktable value="{!shoppingcart}" var="s" id="shopping_cart" rowclasses="cartrow"> <tr data-sfid="{!index}"> <apex:column headervalue="{!$objecttype.opportunitylineitem.fields.description.la...