Answer the question
In order to leave comments, you need to log in
What is the error in this Ajax request on JQuery by the following json parsing from the contact?
Hello! Please help with the following code
$(document).ready(function(){
$.ajax({
type: "GET",
url: " api.vk.com/method/photos.get?owner_id=8462778&albu... ",
dataType: "json" ,
success: function(jsondata){
5 alert('src_small = ' + jsondata.src_small );
6 }
});
Answer the question
In order to leave comments, you need to log in
Well, for starters, this is the place.5 alert('src_small = ' + jsondata.src_small ); 6
$(function(){
$.get(
"api.vk.com/method/photos.get?owner_id=8462778&albu...",
function(jsondata){
alert('src_small = ' + jsondata.src_small );
},
"json"
)
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question