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( at the beginning just to be
sure. Or even alert('div is '', 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 &" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to