Why is my input undefined when I run the program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why is my input undefined when I run the program?

https://code.sololearn.com/WunJwFnTnLyW/?ref=app

9th Jun 2018, 3:12 AM
Eilia Zandi
Eilia Zandi - avatar
4 Answers
+ 4
Well I didn't get the mistake..😅 But the code is Very NiCe!!!
9th Jun 2018, 3:27 AM
Mayank Rampuriya
Mayank Rampuriya - avatar
0
Try var input = orderform[0].value;
9th Jun 2018, 3:17 AM
Calviղ
Calviղ - avatar
0
it worked!!but how about the undefindmenu ?
9th Jun 2018, 3:23 AM
Eilia Zandi
Eilia Zandi - avatar
0
When you hit the submit button in the second lined it says undefined menu.
9th Jun 2018, 4:06 AM
Eilia Zandi
Eilia Zandi - avatar