Why is it not working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
8th Apr 2019, 6:51 AM
Piyush Kumar
Piyush Kumar - avatar
16 Answers
+ 9
If u want to capture a dom element, you have to use window.onload = function (){ / / Dom related things here } So that your js will work only after html is loaded. Your fixed code : https://code.sololearn.com/WEgHhYNyBxsk/?ref=app
8th Apr 2019, 7:17 AM
Arushi Singhania
Arushi Singhania - avatar
+ 8
I have no idea about this. Maybe Gordon can help u with this.
8th Apr 2019, 8:26 AM
Arushi Singhania
Arushi Singhania - avatar
+ 6
Post it. I will try to solve.
8th Apr 2019, 7:29 AM
Arushi Singhania
Arushi Singhania - avatar
+ 3
Thanx
8th Apr 2019, 7:20 AM
Piyush Kumar
Piyush Kumar - avatar
+ 3
Can you fix an another problem i am facing related to 'Responsive Voice' in one of my codes.
8th Apr 2019, 7:21 AM
Piyush Kumar
Piyush Kumar - avatar
+ 3
The input text is spoken with male voice as intended. The error message is always there. If you don't want the error message be shown, you will need to overload the error() function of console.
8th Apr 2019, 8:32 AM
Gordon
Gordon - avatar
8th Apr 2019, 8:22 AM
Piyush Kumar
Piyush Kumar - avatar
+ 2
Don't mark my answer as best. The best answer to your question is the one by Arushi, you should mark her answer as best. Your responsive voice is a second question. Ask in another thread.
8th Apr 2019, 8:34 AM
Gordon
Gordon - avatar
+ 1
Thanx for your support.
8th Apr 2019, 8:27 AM
Piyush Kumar
Piyush Kumar - avatar
0
How?
8th Apr 2019, 8:33 AM
Piyush Kumar
Piyush Kumar - avatar
0
I have already asked this question, Sir. Please fix the problem.
8th Apr 2019, 8:39 AM
Piyush Kumar
Piyush Kumar - avatar
0
Can you mark Arushi's answer as Best, as same as what you have done when she tagged me to this Q&A thread?
8th Apr 2019, 8:44 AM
Gordon
Gordon - avatar
0
Yeah, why not.
8th Apr 2019, 8:45 AM
Piyush Kumar
Piyush Kumar - avatar
0
Done
8th Apr 2019, 8:45 AM
Piyush Kumar
Piyush Kumar - avatar
0
No, not this answer, her first answer, with a correction of your code.
8th Apr 2019, 8:46 AM
Gordon
Gordon - avatar
0
Ok
8th Apr 2019, 8:47 AM
Piyush Kumar
Piyush Kumar - avatar