Page 2 of 2

Posted: Sun May 18, 2008 6:42 am
by ricardo
I notice that if i set the put_onerror once the page is loaded it catches errors in some way (but doing this i miss any error in javascript when loading page, that is the most usuall), the IDispatch_Invoke get called itself but as *pDispParams\cArgs = 3 then get procedurereturn #DISP_E_BADPARAMCOUNT and never reach the function.

Why? Any help are welcome.

Is possible to set onerror when loeading to catch any initial error from loading javascript?

Posted: Tue Aug 05, 2008 2:48 pm
by sshn
Is there a way to disallow default IE event handler to process some event? For example: user clicks some link and something happens without redirect to the link.

Posted: Tue Aug 05, 2008 5:16 pm
by ricardo
sshn wrote:Is there a way to disallow default IE event handler to process some event? For example: user clicks some link and something happens without redirect to the link.
Yes, in the callback return false.

Search in the forums, there are some examples.