I am not maintaining a code that is written by someone else.
There is a form in the page. Is page is re-rendered after clicking the Submit button ? In my onSubmit method, there is not a code piece that re-render the web page. I want to stop refreshing the page, I also used preventDefault but it didn’t work
enter image description here
Code:
enter image description here
Please help me