$('foo').update('<b>bar</b>')

On May 1, 9:15 pm, hareesh <[EMAIL PROTECTED]> wrote:
> (super easy, n00b prototype.js question) Hi All: I have the following
> <div id="foo"></div> in the DOM. Is there any protoype.js method that
> I can invoke from Javascript to set the value of foo to something (For
> e.g.: "<b>bar</b>"). Thanks.
--~--~---------~--~----~------------~-------~--~----~
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