How to supress runtime errors.

Expand Messages

Anupam Shekhawat

Q.No.1 Through javascript I am checking if the form element in other frame is present or not. while ((i

Message 1 of 1
, Apr 12, 2000

0 Attachment

Q.No.1
Through javascript I am checking if the form element in other
frame is present or not.
while ((i < numElements) && (!(foundCtrl))) {
���foundCtrl=(top.menu.document.forms[0].elements[i].name
==ctrlName);
���i++;}
and it gives runtime error.

WHAT is the best way to check if the form is present or not. And if
it is present if the element in that form is present or not?

Q.No.2
How to supress runtime errors on both IE and NN ? These are not
syntax errors because I tried onError but it does not work.

I will appreciate any effort.
Thanks
Anupam shekhawat

Your message has been successfully submitted and would be delivered to recipients shortly.