When Clicking A specific Button, (Submit) the page Refreshes, I really don’t want It to refresh, What can I do?
Advertisement
Answer
@someone It’s always advisable to add proper description on your question with relevant code snippet or some demo. It gives better understanding to answer other question.
As far I understand with your question you may try below solution if you are still looking for solution:
- As suggested in previous answer, remove action attribute if it’s not in use.
- Make input type button instead submit
- use
javascript.void()
in action attribute.
If you query yet not resolved with above solution then request you to please provide some information. Thanks!