0

I have a function was doesn't seem to pass parameters correctly

The first parameter sent to the function correctly but the second one does not. Please help https://code.sololearn.com/WA24zvT1u62G/?ref=app

16th Oct 2022, 11:32 AM
Graeme Adamson
Graeme Adamson - avatar
2 Respostas
+ 2
you are not calling function properly. try : <button onclick="numFunDistance(numX.value, numY.value)">Distance</button>
16th Oct 2022, 12:23 PM
Jayakrishna 🇮🇳
0
Thanks I will try it
16th Oct 2022, 3:42 PM
Graeme Adamson
Graeme Adamson - avatar