I know the feeling :)
my temporary solution is almost the same as yours:

var pDialog = data_responce.getElementsByTagName("PDialog");
data_responce.documentElement.removeChild(pDialog[0])

On 18 Май, 17:13, "ryan.j" <ryan.joyce...@googlemail.com> wrote:
> monday morning mate, i completely misread what you wrote :|
>
> it's a bug i guess, have you tried to bypass the remove() method?
>
> eg.  pDialog.parentNode.removeChild(pDialog);
>
> On May 18, 12:17 pm, snakebit <bozhidar...@gmail.com> wrote:
>
> > I'm little confused. Why you think I want to remove a string? What I'm
> > doing is with find('PDialog') to access the <PDialog> node and after
> > that to remove it.
>
> > On 18 Май, 13:01, "ryan.j" <ryan.joyce...@googlemail.com> wrote:
>
> > > remove() will remove an object from the DOM, but essentially you're
> > > just trying to remove part of a string aren't you?
>
> > > maybe try replace()?
>
> > > On May 18, 9:42 am, snakebit <bozhidar...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I have an ajax request which is returning an xml, but when I tray to
> > > > remove an element from the xml response I'm receiving the following
> > > > error message:
>
> > > > This is happening only in IE7 (I didn't tray in IE6)
> > > > Line: 1283
> > > > EROOR: "Object doesn't support this property or method"
>
> > > > This is my code:
> > > > var pDialog = $(data_responce).find('PDialog');
> > > > if(pDialog ){
> > > > pDialog .remove();
>
> > > > }
>
> > > > This is what I find in 1283 when i debugged it :
> > > > // Compute a unique ID for the element
> > > >                 if ( !id )
> > > >                         id = elem[ expando ] = ++uuid;
>
> > > >                 // Only generate the data cache if we're
> > > >                 // trying to access or manipulate it
> > > >                 if ( name && !jQuery.cache[ id ] )
> > > >                         jQuery.cache[ id ] = {};

Reply via email to