For example, suppose f is a form,
var field = eval("f." + "address");
field.value = "USA";
This code is fine if there is a field named "address" in the form, but if such
how can I tell that field is undefined and therefore skip the assignment
which will cause an error?
Must work for IE and Netscape.