Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: "GET",
- url: "http://api.tvmaze.com/search/shows?q=" + search_tv,
- dataType: "JSON",
- contentType: "application/json",
- success: function (data) {
- console.log("MSG: " + data);
- console.log("Lunghezza Data: " + data.length)
- $.each(data, function (key, value) {
- console.log(value.name);
- })
- },
- error: function () {
- alert("ERROR!!");
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement