Dear all,
I am a newbie to jquery, but have already found it incredibly useful and have implemented stuff already. I am an experienced programmer, just not in javascript or jquery, so I know all things are possible given time and the right information!
I have a site on which I am trying to create an on-line booking for a theatre. Think of it as a shopping cart, and you're basically there. I have created the layout of the seats, each as a separate <div> and am using the excellent JQuery UI Multiple Draggable plugin, using "clone" to drag the object but leave the original in place. I have also created a drop area, which picks up the drop event OK (used a css change to indicate the drop function is fired). All good so far.
What I need to do now is to know the values (seat numbers) of the objects I dropped onto the drop area, but I can't see how to scroll through the selected objects and get the information. If anyone could point me in the right direction I would be very grateful.
At the same time, I would like to modify the original object style to show it has been selected and stop it from being draggable again if possible. Any hints on how to do this would be very handy too, but if I am asking too much at a time, this is not so urgent.......
I have just spotted the snakecharmer plugin, which looks useful and I may have a play with that as well, but I need to be able to select non-contiguous numbers, so not sure if that is possible with snakecharmer - certainly can't do it in the example..