In your test, have you proven that the argument to the
RemoveCategoryField function has the intended element in it? It might
be worthwhile to try an alert(div.id) at the beginning just to be
sure. Or even alert('div is '+div.id+', and parent is '+div.up().id).

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();
>
> }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to