Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getValues(id)
- {
- $(document).ready(function () {
- // Znów AJAX request
- $.getJSON('http://localhost:56658/api/api/students/' + id)
- .done(function (data) {
- var items = [];
- items.push(data.Name);
- items.push(data.Surname);
- items.push(data.Email);
- items.push(data.Index);
- return items;
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement