JS for replace and remove looks like this...

$('d1').replace( "<div id='d1'>Some Data</div>");

$('d1').remove();

Thanks
Booshan

On Mar 6, 2:27 pm, "wiggles" <[EMAIL PROTECTED]> wrote:
> can you post the actual JS?
>
> On Mar 6, 10:52 am, "Booshan" <[EMAIL PROTECTED]> wrote:
>
> > I have the following type of html content. When I replace or remove
> > div with id=d1, all the divs underneath d1 also disappears. This
> > happens only in IE, but works fine in Firefox. Appreciate any help for
> > the fix.
>
> > Thanks
> > Booshan
>
> > <div id="d1"></div>
> > <div id="d2"></div>
> > <div id="d3"></div>
> > <div id="d4"></div>


--~--~---------~--~----~------------~-------~--~----~
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 [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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to