I'm trying to run a scriptaculous appear effect on an asp.net page. The
script references are in the head element, not  microsoft's script manager.
The code works fine in IE, but not in FF, Safari or Chrome. In FF I get this

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.removeChild]"
 nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
http://localhost:57114/ApName/PageName.aspx :: gen :: line 225"  data: no]

The function gets called by an asp.net button's clientclick event,
thus: OnClientClick="gen(); $('rmAbout').appear(); return false;"

I've removed the variables from my function and hardcoded in  two child
divs, the first of which loads with the page.this is the totality of what's
now in gen:


This is the first time I've tried to use Prototype with Asp.net and if I'm
doing something dumb, would be very grateful if someone could point out

Jane Hunter

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-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to