Grabbing both inputs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Grabbing both inputs?

So I have this code. Is there a way to grab both inputs using getElementsByClassName? https://code.sololearn.com/WQeFlLiaUsOe/?ref=app

27th Jun 2018, 8:40 AM
Daniel Cooper
Daniel Cooper - avatar
5 Answers
+ 1
I has similar problem and it was solved. See this thread: https://www.sololearn.com/discuss/1359319/?ref=app
27th Jun 2018, 8:42 AM
Jan Štěch
Jan Štěch - avatar
+ 1
It should be working the same way.
27th Jun 2018, 8:43 AM
Jan Štěch
Jan Štěch - avatar
+ 1
Please dont use table tag for inputs. Use form tag insteads.
27th Jun 2018, 11:15 AM
Calviղ
Calviղ - avatar
0
Whoops I meant getElementsByTagName xD
27th Jun 2018, 8:42 AM
Daniel Cooper
Daniel Cooper - avatar
0
I was really just playing around Calviղ Nothing was really planned, so the idea came after the table xD
27th Jun 2018, 3:14 PM
Daniel Cooper
Daniel Cooper - avatar