Re: removing an HTML element



petermichaux@xxxxxxxxx wrote:
I'm trying to remove an html element in the example below. I don't see
the "bye" message at the end and there are no errors reported in
Firefox or exceptions caught if I wrap the remove child line in a
try-catch. Any ideas what is wrong?

Thanks,
Peter
....
<div id="my_div">hi<div>

It works better for me if I close the element thusly:
<div id="my_div">hi</div>

Csaba

.



Relevant Pages

  • Re: Abortions: Should the father have some say?
    ... natural justice and is also clearly ... RUBBER WHEN I ... if you parent a child that child is your responsibility. ... his body - wrap his little prick in some latex, ...
    (soc.men)
  • __getattribute__ and methods proxying
    ... What I'm trying to accomplish is to "wrap" all my method calls and ... attribute lookups into a "proxy" method which translates certain ... exceptions into others. ... raise NoSuchProcess ...
    (comp.lang.python)
  • Re: Need grammar, spelling help
    ... There are exceptions to every rule. ... The rules help the child past the first hurdles in reading. ... It wouldn't be of use to a 9 yo who is a fluent reader (and most 9 yo's are ...
    (misc.kids)
  • Re: Firefox does not word-wrap?
    ... hard and soft wrap, ... Does anyone know how I can fix this? ... Firefox wraps happily at spaces, so I suspect that you are using words ... a bug report about this 5 years ago, but it has not been well supported ...
    (comp.infosystems.www.authoring.stylesheets)
  • MDI Child Errors Crash Application - Unhandled Exceptions
    ... exceptions in MDI child forms causing the application to crash. ... child forms that may be open, and to not then crash the application. ...
    (microsoft.public.dotnet.languages.vb)