Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foto = $.ajax({
- type: "POST",
- url: foto_page,
- dataType: "json",
- data: "value="+id+"",
- beforeSend: function(xhr) {
- xhr.setRequestHeader("Accept", "text/javascript");
- xhr.setRequestHeader("X_USERAGENT", key);
- },
- success: function(data){
- var foto2 = data.foto;
- alert(data.foto);
- return foto2;
- }
- }).responseText;
Add Comment
Please, Sign In to add comment