On Nov 22, 8:01 pm, Wallis <[EMAIL PROTECTED]> wrote: > Hi, > > I created the following simple function to delete the div element. I > passed the div element id to this function and this function should > delete the div element for me. It works in FF but not in IE7. Do > anyone has this problem? Can anyone help to solve this issue? > > function RemoveCategoryField(div) { > $(div).remove(); > > }
And what is the `parentNode` of that element? -- kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---