Bootstrap Loading State Button Using jQuery
home
Run
screen_rotation
fullscreen
cloud_download
<html> <head> <title>Bootstrap Form Field Validation</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("button").click(function() { $(this).html(' Loading...'); }); }); </script> </head> <body> <h1 class='heading-center'>Button Loading State</h1> <button type="button" class="btn btn-primary">Primary Button</button> </body> </html>
<html> <head> <title>Bootstrap Form Field Validation</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("button").click(function() { $(this).html(' Loading...'); }); }); </script> </head> <body> <h1 class='heading-center'>Button Loading State</h1> <button type="button" class="btn btn-primary">Primary Button</button> </body> </html>
Copyrights@tutorialsplane.com