Hi,

 I had this code:
 var newCopy = new Element('div', { 'id' : obj.id, 'class' :
'de_small' }).update(obj.innerHTML);

which worked fine but now i add this and it breaks my script...it's
hard to explain exactly how it breaks but it involves a draggable
object not being droppable anymore

var newCopy = new Element('div', { 'id' : obj.id, 'class' :
'de_small' }).update(obj.innerHTML).observe('click', deleteThis());

can i not do it like this?
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to