Re: CakePHP Ajax drop with multiple parameters

2010-03-26 Thread nurvzy
Why are you using ?var1=$hiddenFieldId? Why not just use: 'url' => '/purchases/addGuestToTable/'. $hiddenFieldId.'/'.draggedid.element.id Then in your purchases controller: function addGuestToTable($hiddenFieldId, $draggedId){ //Do what you want. } Hope that helps, Nick On Mar 26, 5:08 am,

CakePHP Ajax drop with multiple parameters

2010-03-26 Thread Bailey
Hi all, I've searched the google group and unfortunately cant find any info on this (or anywhere for that matter).. I'm trying to send PHP variables over an ajax dropRemote request but the action thats meant to be recieving the parameters is not picking it up. Basically I am trying to drag people