Hi,

I had already posted a question, but figured out that this might have
been too confusing. i want to use a Drag and Drop AJAX Function. I
have got 2 Drop Zones.

<div id="dropZone1">1</div>
<div id="dropZone2">2</div>

Question:

1. Do I need now 2 dropRemote for this?
2. I know I can use "with" to hand over data through the $this->params
['form'], but how would I send over the id from the dropZone?

My dropRemote looks like this:

echo $ajax->dropRemote('dropZone1',

                             null,

                             array('url' => '/categories/dropZone/',

                                   'hoverclass' => 'dropzone1',

                                   'update' => 'dropZone1',

                                   'with'=>'{draggedid:element.id.}',

                                   'indicator' => 'loading'));


Any information will help. Thanks a lot.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to