So currently I am working on a simple login authentication. I have an HTML page and PHP script using cURL to authenticate against a website. What I want to do is, instead of after user input pressing submit and switching to the PHP page for the "correct" "Incorrect" echo, I want JS to just give a small message under the submit button giving that message so they can enter info again.
Thank you it was fixed and working now thank you shyju