I have this:
<%= drop_receiving_element :slot2, {:onDrop => "function(element) {
$('slot2').replace('<td id = "slot2"> + element + </td>' ).addClassName
('cardfill'); }"}  %>

I am trying to replace the data ina table but when I try this it
complains a saying it is looking for a '}' at "slot2"

According to the prototype docs this should be the correct syntax.
Anyone know how to do this?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to