Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('#loading').html('Loading...');
- $.ajax({
- type: 'GET',
- url: 'http://ec2-3-15-201-223.us-east-2.compute.amazonaws.com/final/message.xml',
- dataType: 'xml',
- success: function(xml) {
- $('#loading').html('');
- $(xml).find('dev').each(function() {
- $('#dialog').append(
- '<div>' +
- '<div><b>Message from the developer: </b>' +
- $(this).find('msg').text() + '</div> ' +
- '</div>');
- });
- }
- });
- $('.img_div').click(function () {
- $(this).toggleClass('active');
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement