kirill14
posted this
10 June 2020
Unfortunately this doesn't help, since i cant actually select any element in the DOM console when i run the page in chrome. If i try queryselector or elementbyclass or id, and try console log the result it brings back either undefined or an HTML collection which is an array with arbitrary stuff inside. Ive tried adding a class in the nicepage app for just a button, but even when i create a class and try call it, it gives me undefined even though i can see the element with the class in the DOM. The js is working properly if i declare variables in the js file i can see them defined in the console.
Unfortunately this doesn't help, since i cant actually select any element in the DOM console when i run the page in chrome. If i try queryselector or elementbyclass or id, and try console log the result it brings back either undefined or an HTML collection which is an array with arbitrary stuff inside. Ive tried adding a class in the nicepage app for just a button, but even when i create a class and try call it, it gives me undefined even though i can see the element with the class in the DOM. The js is working properly if i declare variables in the js file i can see them defined in the console.