On 13 Dec 2011, at 21:29, Craig White <[email protected]> wrote:
> Works - well, I still need a way to pass @group instance variable in the > 'post' string back to controller but in the meantime, I am stuck in that > after the first drag/drop/update I can't do more drag and drop apparently > because the drag_drop.js code needs to run again after the partial refresh. > > How do I get this to execute again or must I necessarily embed the script in > the memberships.js.erb ? Typically I'd use the callback that updates the dom to setup any stuff like that. When you're only adding event handlers there's also the .live stuff that you can use to bind event handlers for dom elements that don't exist yet Fred > > -- > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [email protected] > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com > > Need help communicating between generations at work to achieve your desired > success? Let us help! > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

