Hello all and thanks for looking,

I'm trying to use serialize option for ui sortable but each li has
multiple inputs and I want to get the inputs back not just the record
id

example

<ul>
<li id="items_1">
<input type="text" id="field_1" value="hello" />
<input type="text" id="field_2" value="goodbye" />
</li>

<ul>
<li id="items_2">
<input type="text" id="field_1" value="foo" />
<input type="text" id="field_2" value="bar" />
</li>

and what I want back is a two dimensional array

so that the result of serialize looks like this

items[]=feild[]=hello&feild[]=goodbye&items[]=feild[]=foo&feild[]=bar

but the input items should not be sortable just the lis'

does that make sense to anyone  ?

thanks
Mean Mike

Reply via email to