Saving Changes After Drag-and-Drop

J

javascript

I've created drag and drop functionality that uses an Xml file
generated by a C# .NET XmlTextWriter. This Xml file is then bound to a
table and output as HTML with client-side JavaScript. Everything works
fine. The output on the screen will look something like the following:

SequenceId1
- 1
- 2

SequenceId2
- 3
- 4

The end-user is then able to drag the 4 over the SequenceId1 (div
field) and upon mouseUp will be able to "drop" 4 into SequenceId1. The
screen will now look like this:

SequenceId1
- 1
- 2
- 4

SequenceId2
- 3

This is the easy part. Obviously since this is client-side the actual
Xml file does not get rewritten. How would I go about looping through
each of the SequenceId's to build an array of each of the items that
are a part of the Sequence?

Thanks in advance,

- will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top