How to Disable Submit Button After Click using jQuery?

Today, We want to share with you How to Disable Submit Button After Click using jQuery?.In this post we will show you how to disables submit button until form is filled in jquery, hear for how to prevent multiple clicks on submit button in jquery we will give you demo and example for implement.In this post, we will learn about Disables Button After Click Html In JQuery – Prevent Multiple Clicks with an example.

How to enable and disable submit button using jQuery?

here simple you can learn to step by step jQuery – How to disabled submit button after clicked


<!DOCTYPE html>


    <title> How to Disable Submit Button After Form Submission in PHP? - </title>
    <script type="text/javascript" src=""></script>

<form action="/post.php" method="POST" id="my-form">

    <input type="text" name="name">
    <input type="text" name="email">
    <button type="submit" id="btn-submit">Submit</button>


<script type="text/javascript">
    $(document).ready(function () {
        $("#my-form").submit(function (e) {
            $("#btn-submit").attr("disabled", true);
            return true;



I hope you get an idea about Disables Submit Button After Click.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Also Read This 👉   how to upload multiple images in php and store in database?