thanks that worked... another related question.... im also writing Droppables.add with the Ajax.Updater. and the drop area was written when the page was originally loaded (not the ajax.updater area of the page). will it still be droppable?
when i run updater, it writes the dragable items, and they are draggable but they do not do anything when dropped on the areas. also, the drop areas are TD's maybe that is it. > Also, be careful about the problem described here: > > http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2005-December/ > 001615.html > > (which crashes all but the latest firefox, I think). Also, if you > surround your script elements with <!--//<![CDATA[ ... //]]>--> you > might have to remove them or you'll get javascript syntax errors on > IE. I'm not sure if this is a well known limitation with prototype or > not - I only ran into it yesterday. Prototype should probably strip > these kind of comment lines before calling eval(). > > tom > > ------------------------- > http://www.smallroomsoftware.com > > > On 7 Feb 2006, at 15:35, Tom Riley wrote: > >> Pass evalScripts: true in the options hash passed to Ajax.Updater. >> >> tom >> >> ------------------------- >> http://www.smallroomsoftware.com >> >> On 7 Feb 2006, at 15:28, Louis Walch wrote: >> >>> using Ajax.Updater to update a section of a page with a <ul> also >>> want to >>> write some javascript into it (because im trying to make each of >>> the <li> >>> draggable. but the <script..... > are not being written. is this not >>> possible? >>> _______________________________________________ >>> Rails-spinoffs mailing list >>> Rails-spinoffs@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> _______________________________________________ >> Rails-spinoffs mailing list >> Rails-spinoffs@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs