Is it javascript inside the <form> ? | Sololearn: Learn to code for FREE!
0

Is it javascript inside the <form> ?

<form oninput="result.value=parseInt(a.value)+parseInt(b.value)"> <input type="range" name="b" value="50" /> + <input type="number" name="a" value="10" /> = <output name="result">60</output> </form>

13th Apr 2017, 7:26 PM
זוהר צ'יפרוט
זוהר צ'יפרוט - avatar
2 Answers
+ 19
Yes. All html element events contain javascript code...... (make question clearer?? ^_^ )
13th Apr 2017, 8:19 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Thanks
14th Apr 2017, 6:47 AM
זוהר צ'יפרוט
זוהר צ'יפרוט - avatar