3rd Feb 2019, 2:46 PM
Alireza Babaei
Alireza Babaei - avatar
3 Réponses
+ 3
As soon as your page loaded you tried to get value of input field which is null (empty). You need to get value of input field only when you click a button, never before, that's why I used .value of input field with Button function
3rd Feb 2019, 8:51 PM
Elva
Elva - avatar
+ 1
https://code.sololearn.com/W527RD7o3jW2/?ref=app You tried to get value of input field immediately, even though it is empty (null)
3rd Feb 2019, 3:57 PM
Elva
Elva - avatar
0
i don't understand what you change in my code can you explain!
3rd Feb 2019, 5:32 PM
Alireza Babaei
Alireza Babaei - avatar