If you want to build the array in jQuery then you can do something like the
following:
arIDs = new Array();
$("input[name='ID']").each(function(){
arIDs.push($(this).val());
})
David Phelan
Web Developer
IT Security & Web Technologies
Emerging Health
Montefiore Information Technology
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
[email protected]
www.emerginghealthit.com
www.montefiore.org
-----Original Message-----
From: [email protected] [email protected] [mailto:[email protected]]
Sent: Wednesday, September 25, 2013 7:43 PM
To: cf-talk
Subject: Saving updated sort order in mysql jquery list to update database
I have a cfm page that displays a drag and drop ul list and I do not know how
to create an array of that sorted list to the mysql database.
Any help would be greatly appreciated. I am new to the jquery, jquery-ui
plugins, but loving it all so far.
Thanks in advance,
Terry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356850
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm