0

How can i select dom element in js it not working here 😅

https://code.sololearn.com/WscPzeAo4t13/?ref=app

11th Nov 2021, 2:41 AM
Khaled Attia
Khaled Attia - avatar
2 Answers
+ 2
Khaled Attia Do this window.onload = function () { const input = document.querySelector(".ip"); console.log(input.value); }
11th Nov 2021, 2:55 AM
AÍąJ
AÍąJ - avatar