jQuery Disable Button After Click

jQuery Disable Button After Click

Also Read : first love marriage in the world

Today, We want to share with you jQuery Disable Button After Click.In this post we will show you how to prevent multiple clicks on submit button in jquery, hear for how to disable submit button after form submission in javascript we will give you demo and example for implement.In this post, we will learn about how to change a button from enable to disable after click with an example.

jQuery Disable Button After Click

There are the Following The simple About jQuery Disable Button After Click Full Information With Example and source code.

As I will cover this Post with live Working example to develop jquery disable button after click for 5 seconds, so the jquery prevent double clicks for this example is following below.

READ :  Vuejs Interview Questions And Answers

jQuery – How to disabled submit button after clicked

$('#saveEmployee').attr("disabled", false);	

Also Read : tamilblasters, 9kmovie, filmygod, hdhub4u, vegamovies, tamilrockers website link and 1377x proxy.

$("#saveEmployee").attr("disabled", true);

<!DOCTYPE html>
<html lang="en">

<h1>jQuery - How to disabled submit button after clicked - infinityknow.com</h1>

<form id="productFtm" action="#" method="POST">
    <input type="submit" id="saveEmployee" value="Submit"></input>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

<input type="button" value="Update Product" id="updateBtn"></input>

    $(document).ready(function () {

        $("#productFtm").submit(function (e) {

            //stop submitting the html form to see the disabled button effect

            //jquery disable the submit button
            $("#saveEmployee").attr("disabled", true);

            //jquery simple disable a normal button
            $("#updateBtn").attr("disabled", true);

            return true;



Web Programming Tutorials Example with Demo

Read :


You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about jQuery Disable Button After Click.
I would like to have feedback on my infinityknow.com 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.

READ :  AngularJS Multiple Images uploading using PHP