this might be too much to ask, but please bear with me, I'm useless with java (but trying to learn)... any way you could explain what those lines of code are doing, and what parts of it i need to change to make it work with what I have? I'm sure it's simple stuff for java gurus but I'm not sure what I need to change in your code if anything... for reference here is the code of my test page (only the sortable and a button on it):
** note ** in reality the values in the sortables will be variables populated by database entries, but that's to be worried about later as i know how to do all that. I just want to output a post that tells my php script about the new position as the user has arranged on the screen.
<div class="demo">
<ul id="sortable">
<li class="ui-state-default">value 1</li>
<li class="ui-state-default">value 2</li>
<li class="ui-state-default">value3 etc</li>
<li class="ui-state-default">4</li>
<li class="ui-state-default">5</li>
<li class="ui-state-default">6</li>
<li class="ui-state-default">7</li>
<li class="ui-state-default">8</li>
<li class="ui-state-default">9</li>
<li class="ui-state-default">10</li>
<li class="ui-state-default">11</li>
<li class="ui-state-default">12</li>
<li class="ui-state-default">13</li>
<li class="ui-state-default">14</li>
<li class="ui-state-default">15</li>
<li class="ui-state-default">16</li>
</ul>
</div>
<form name="form1" method="post" action="">
<input type="submit" name="updateBtn" id="updateBtn" value="Save positions">
</form>