Hello all :) I am trying to use the sortable feature to order images. The problem I'm having is when I dynamically loop through the proper images to the project, I want to let users sort the images and save the sort number of the sort to the database.
The image below shows the basic layout and the code I'm using. I thought about using another hidden form field inside the loop.. something like this : <input type="hidden" name="mysortnumber" value=""> but not really sure how to post the sort index number along with the other form values... Any help would be greatly appreciated :) http://old.nabble.com/file/p27556111/sortsample.jpg -------------------------------------------------------------------- <form action="editImages.cfm" Method="Post" name="editmyimages"> <input type="hidden" name="ID" value="<cfoutput>#dateInfo.ID#</cfoutput>"> <div class="demo"> <ul id="sortable"> <cfoutput query="photoInfo"> <li class="ui-state-default"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td valign=top width="20"> <input type="checkbox" name="imageID" value="#ID#"> </td> <td valign="top" width="130" align=center> FileProcessingScripts/ColdFusion/UploadedFiles/thumbnail_#imagename# </td> </tr> </table> </li> </cfoutput> </ul> </div> -------------------------------------------------------------------- -- View this message in context: http://old.nabble.com/Sortables---sending-final-sort-index-to-database-from-a-form.-tp27556111s27240p27556111.html Sent from the jQuery UI Discussion mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.