Hello!
I usually get the values of form elements with the method getElementById("myId"). I have now a case where the form element maybe there or not. Thus I first need to find that out as to not receive an error like "element is null or not an object".
Does anybody know if there's a function like exists() isNode() or something like that?
Best regards
Eva
I usually get the values of form elements with the method getElementById("myId"). I have now a case where the form element maybe there or not. Thus I first need to find that out as to not receive an error like "element is null or not an object".
Does anybody know if there's a function like exists() isNode() or something like that?
Best regards
Eva