Search
 
SCRIPT & CODE EXAMPLE
 

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>
Comment

PREVIOUS NEXT
Code Example
Html :: html mobile does not show pdf with object 
Html :: h1Inne1rHtml is not defined at main 
Html :: Capturing the amount of space related to the text html 
Html :: html input avoid pre spacing 
Html :: important html tags 
Html :: mark the workd in html 
Html :: html metatags for facebook 
Html :: buttosn html 
Html :: what is base_body.html in open edx 
Html :: drag and drop textarea html 
Html :: vertical line bootstrap 
Html :: html count django model related_name 
Html :: how to make an ion-label word wrap 
Html :: Adding multiple audio content in HTML5 
Html :: spacing out links on nav bar using flex 
Html :: create an html page in visual studio 
Html :: wbr tag html 
Html :: How many script tags can you add in a html file? 
Html :: html add page to document 
Html :: hex code html 
Css :: css media queries 
Css :: css filter white to black 
Css :: center postion absdolute 
Css :: css bold text 
Css :: css gradient border 
Css :: limit p html 
Css :: how to remove link blue color from a tag using css 
Css :: nunito font family 
Css :: button mouse icon hover css 
Css :: css selector start with 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =