Hi guys see the code plz when I add ".value" to the x it doesn't work why?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi guys see the code plz when I add ".value" to the x it doesn't work why??

https://code.sololearn.com/WGDQS6PK88K0/?ref=app as I know we need to the value of x not x.

14th Aug 2018, 8:42 PM
Sina
Sina - avatar
7 Answers
+ 3
the select method select the value (contents) of the input box, you don't need the value method.
14th Aug 2018, 10:56 PM
Steven Trippier
Steven Trippier - avatar
+ 1
my bad I guess I didn't understand it at first
14th Aug 2018, 9:01 PM
Mohmmad Gaith Alhilwany
Mohmmad Gaith Alhilwany - avatar
0
dude I think you just need to delete the space between the x and the = sign for some reason that worked on my end
14th Aug 2018, 8:50 PM
Mohmmad Gaith Alhilwany
Mohmmad Gaith Alhilwany - avatar
0
excuse me but did you read the question??
14th Aug 2018, 8:53 PM
Sina
Sina - avatar
0
I totaly don't know this sorry xD
14th Aug 2018, 9:02 PM
Mohmmad Gaith Alhilwany
Mohmmad Gaith Alhilwany - avatar
0
Can you formulate better your question? What mean with "add .value to the x"?
14th Aug 2018, 10:19 PM
KrOW
KrOW - avatar
0
oh Underestand
15th Aug 2018, 8:23 AM
Sina
Sina - avatar