Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

iam making a disable button , when I click on it disable it and the write please wait on this button in jQuery

<script type="text/javascript">
  $(document).ready(function(){
    $("input[type='submit']").attr("disabled", false);
    $("form").submit(function(){
      $("input[type='submit']").attr("disabled", true).val("Please wait...");
      return true;
    })
  })
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iam #making #disable #button #I #click #disable #write #wait #button #jQuery
ADD COMMENT
Topic
Name
9+3 =