Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(document).ready(function() {
- $('.show-phone').on('click', function(){
- $.ajax({
- url: '../config/contact_settings.php',
- data: {action: 'phone'},
- method: 'POST',
- success: function(result) {
- $('.phone-number').html(result);
- }
- });
- });
- $('.show-email').on('click', function(){
- $.ajax({
- url: '../config/contact_settings.php',
- data: {action: 'email'},
- method: 'POST',
- success: function(result) {
- $('.email-address').html('Skrzynka e-mail: ' + result);
- }
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement