+ 1

I want to have a submit button on this input fields.

I want to submit values on this fields who are variables https://code.sololearn.com/WPWwb88dCQNt/?ref=app

21st Jul 2019, 5:30 AM
Sabyasachi Pramanik
Sabyasachi Pramanik - avatar
2 ответов
+ 1
Use HTML tag to form proper form tag with input tags with attribute type equals to number. Do not use button tag in form and input tags, use input type="submit" to form submit button. Process output using onsubmit event trigger on form tag. Do not use document.write to update dom, use document methods like getElementByClassId Check out the code here: https://code.sololearn.com/Ww1GsMo62n8F/?ref=app
21st Jul 2019, 6:34 AM
Calviղ
Calviղ - avatar