0
Why do input fields disappear when displaying a result? PLZ HELPđ¨
Why do input fields disappear when displaying a result? How to fix this? My code: https://code.sololearn.com/WuFl56r92YuC/?ref=app
4 Answers
+ 1
PR PRGR
Because of document.write
As you get value using javascript same as set value in a tag using innerHTML
https://code.sololearn.com/W8hRbx63YTNU/?ref=app
+ 1
A͢J - SÍoÍlÍoÍHÍeÍlÍpÍeÍrÍ Thank you very much!!!
0
A͢J - SÍoÍlÍoÍHÍeÍlÍpÍeÍrÍ Maybe you know how to return three values: x, y, r from the function getNum()? I know how to return only one value and don't know how to return more.
0
PR PRGR
Store value in an object then return that object.