This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.24/angular.min.js"></script> | |
| <div class="col-md-12" > | |
| <div class="box"> | |
| <div class="box-header"> | |
| <h3 class="box-title">Simple Full Width Table</h3> | |
| </div> | |
| <div class="box-body no-padding"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| $(document).ready(function () { | |
| $('#sendAppLinkBtn').off('click').on("click", function () { | |
| $('#sendAppLinkBtn').val("Sending..."); | |
| $.post('/Utilities/sendAppLink.json', {num: $('#sendAppLinkNum').val()}, function (d) { | |
| $('#sendAppLinkBtn').val("Send App Link"); | |
| }); | |
| }); | |
| }); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| var maxLength = 100; | |
| $(".show-read-more").each(function(){ | |
| var myStr = $(this).text(); | |
| if($.trim(myStr).length > maxLength){ | |
| var newStr = myStr.substring(0, maxLength); | |
| var removedStr = myStr.substring(maxLength, $.trim(myStr).length); | |
| $(this).empty().html(newStr); | |
| $(this).append(' <a href="javascript:void(0);" class="read-more">read more...</a>'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $(document).ready(function () { | |
| $('#personalform').on('submit', function (e) { | |
| var phone = document.getElementById("mobile2").value; | |
| if (phone == "") { | |
| alert('Please type phonoe number .'); | |
| return false; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href="https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> | |
| <script src="https://code.jquery.com/jquery-1.10.2.js"></script> | |
| <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
| <script> | |
| $(document).ready(function () { | |
| var data = [ | |
| {'label': 'Dr.Hari', 'value': 1}, | |
| {'label': 'Sapna Clinic', 'value': 2}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function checkLogin(){ | |
| $('#errorLogin').text(''); | |
| var emails = $('#email_in').val(); | |
| var passwords = $('#password_in').val(); | |
| if(emails == '' || passwords == '' ){ | |
| $('#errorLogin').text('Please enter correct details.'); | |
| return false; | |
| } | |
| $.post("http://www.discountoncard.com/users/ajaxLogin", {"email": emails, "password": passwords}, function (d) { | |
| var result = JSON.parse(d); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <input type="button" id="delete-file" value='Delete' /> | |
| document.getElementById('delete-file').onclick = function () { | |
| if (confirm('Are you sure??')) { | |
| parent.location='<?php echo "users/delete/" . $manoj['id'] ?>'; | |
| } | |
| }; |
NewerOlder