That's because Node.inner_html takes nodes, not strings as input. Glad you got it working.

Walter

On Feb 28, 2011, at 10:03 PM, Wes Gamble wrote:

I tried Node.inner_html= to no avail, setting it to the string that
resulted if I interpolated the <span> where I wanted it.  Not sure why
it didn't work, but the replace/after works, so I went with that.

Thanks for the help.

Wes

--
Posted via http://www.ruby-forum.com/.

--
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 rubyonrails- [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.

Reply via email to