Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
- <script>
- $.ajax({
- method:'get',
- url: 'http://localhost:9005/list',
- dataType: "json",
- success: function(response){
- $.each(data, function(i, obj) {
- //use obj.id and obj.name here, for example:
- $('#list').append('<li>'+WebGLObject+'</li>')
- });
- }
- })
- </script>
- </head>
- <body>
- <ul id="list"></ul>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement