James Williams
James Williams
Ok I tested with querySelectorAll and it does give results. Something interesting I observed, however, when pulling the forms from the same website. While three forms are returned by querySelectorAll("form")....
Is it known what could cause this to happen? as when I tried directly querying one of the two forms that were null it worked as expected. I tested this...
I tested each of the three forms individually and multiple times by doing document.querySelector("form#[insert id]");. The three form id's are search_mini_form, newsletterSignupForm, and invite-friends-form. All three returned a valid object...
+1 Looking for a solution when using multiple layers of nesting as well.