i had to do that once or twice in a site i''m currently working on and
the
only way i could get it to work was
$(''div_id'').innerHTML='''' (FYI thats two
single quotes)
i tried with update(null) and update('''') and neither of them
seemed to work
in my instance.
On 9/25/07, retacom-Mmb7MZpHnFY@public.gmane.org
<retacom-Mmb7MZpHnFY@public.gmane.org> wrote:>
>
> I have a div and the id is "found"
>
> how can i clear the content/innerHTML with prototype?
>
> ____________
> Virus checked by G DATA AntiVirusKit
> Version: AVK 17.8146 from 25.09.2007
> Virus news: www.antiviruslab.com
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---