+ 1
Error
Now it's fixed TypeError: null is not an object (evaluating 'document.getElementById("text").value;')
22 ответов
+ 3
are you sure "text" is an input element?
if not use ".innerHTML" in place of ".value"
+ 2
then wrap it up in "window.onload" function
+ 2
document.querySelector('#text').value;
+ 2
show your source code.
Copy your code and paste here...
+ 2
Please link your code URL, some friends here had tried to help you, but the best thing to do is to show the code, so everyone can see clearly where the problem lies, don't leave them shooting blanks ...
+ 1
are u sure you made a element with text. Ok then try the code
document.querySelector('#text');
+ 1
then you show the source code.
+ 1
it will be easy to understand what is the error
+ 1
hmm
+ 1
I said! "wrap it up in window.onload.
here: https://code.sololearn.com/WKwwE32umnG1/?ref=app
0
yes
0
on me it's happens evrytime I trying
0
I will try it
0
It's not working
0
It's not working
0
What do you mean?
0
I not ned it I tested it on another web and it's working IT'S AN BUG ON SOLOLEARN!!!
0
https://code.sololearn.com/Wwt7eU2K78yB/?ref=app added beta to it's name
0
it's an code to hacker terminal callenge
0
i tested it's not work