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 odpowiedzi
+ 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.