i am trying to make the drag n drop function work but it does not work when i call it from the server.....what should i do to make it work.....it normally works when i run the file but when i call it form the server using ajax it does not work....i am also using prototype.js whose functionality works perfectly either way (using ajax or otherwise). Can somebody pls tell me how can i make it work....thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Gregory
2007-Mar-05 17:46 UTC
Re: The drag n drop feature not working when called through ajax
From your convoluted description, it sounds as if script tags embedded in your Ajax responses aren''t being executed. If so, this problem has been discussed recently multiple times. Please search the group archives. http://groups.google.com/group/rubyonrails-spinoffs/search? hl=en&group=rubyonrails-spinoffs&q=ajax+script&qt_g=Search+this+group Specifically: http://groups.google.com/group/rubyonrails-spinoffs/browse_frm/thread/ f57387e0a16977d4/75a7ff6a4d10ae76?lnk=gst&q=ajax +script&rnum=3&hl=en#75a7ff6a4d10ae76 If I''m misdiagnosing your problem, please post a link to a reduced example. TAG tomg-PGZyUNKar/Q@public.gmane.org On Mar 5, 2007, at 10:09 AM, kumarr wrote:> > i am trying to make the drag n drop function work but it does not work > when i call it from the server.....what should i do to make it > work.....it normally works when i run the file but when i call it form > the server using ajax it does not work....i am also using prototype.js > whose functionality works perfectly either way (using ajax or > otherwise). Can somebody pls tell me how can i make it > work....thanks. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---