I can suggest a few things
    - I think you should try to URL Encode the url
    - I think you should try doing event.dragDiv.title.toString() [just
in case]
Also to note, you don't need the +"" in the end.

________________________________________________________________________
Thanks & Regards,
Dhruva Sagar.


On Tue, 2009-08-25 at 07:12 -0700, Enoch wrote:

> I am trying to load a php page into DIV B when DIV A is dropped on it.
> 
> My question is:
> how do I pass a variable with my jquery load.
> 
> this is what I have:
> 
> .bind( "drop", function( event  ){
>       $( this ).load("somefile.php?rec="+event.dragDiv.title+"");
> }
> 
> everything works fine when I remove the +event.dragDiv.title+""

<<attachment: draft-paper.png>>

Reply via email to