+ 1
Why my JS giving null value error in Web?
Its giving null value error when I fill the form and press submit button. https://code.sololearn.com/WFe8ejTJ7jjK/?ref=app Please run the code and help me with the error.
2 Antworten
+ 3
You use `document.write` which erases whatever already in the document. And that includes all your textboxes, and radio buttons. You can't refer to an object (e.g. using `getElementById`) that no longer exists.
+ 2
I too actually want to know how can one avoid that condition as Ipang explained and display all that is submitted