Difference between button and submit


Button vs Submit.

1. Button: 

<Input type="button">

   This is only a simple button. This will allow to call java script function and this can't do anything itself.

recomanded: what is ANI?

2. Submit:

<Input Type="submit">

    This submit button will submit the form on clicking but if when this submit button is inside the form element.

Post a Comment

Post a Comment (0)