Hello readers , today in my blog I would like to discuss about the difference b/w the onClick and onSubmit Events . Below is the difference b/w them :- Below is a ...
In this case onclick="giveAnswer ()". That means it looks for a function called giveAnswer, and runs it when clicked. The parentheses are used to pass any ingredients that the function might need to ...