Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Thank you message show for 3 seconds
- //HTML
- <button id="submit-reg-form" class="ic-btn" data-toggle="modal" data-target="#thankyou">Registration now</button>
- <div class="modal fade" id="thankyou" tabindex="-1" role="dialog" aria-labelledby="thankyouLabel" aria-hidden="true">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-body">
- <h3>Thank you</h3>
- <span class="ic-check"><i class="icofont icofont-check-circled"></i></span>
- <span>Registration Successful</span>
- <span>You get a successful mail in your eamil </span>
- </div>
- </div>
- </div>
- </div>
- //JS
- $('#submit-reg-form').click(function(){
- setTimeout("$('#thankyou').modal('hide');",3000);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement