Torna al Thread

<html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script language="javascript"> $(document).ready(function() { $("#btn").click(function() { $.ajax({ type: 'GET', contentType: 'application/json; charset=utf-8', dataType: 'jsonp', async: false, crossDomain: true, jsonp: false, processData: false, jsonpCallback: 'myFunc', url: 'http://blogname.blogspot.com/feeds/posts/default?alt=json-in-script&callback=myFunc', success: function(jsonpData) { var $str = jsonpData; console.debug($str); } }); }); }); </script> </head> <body> <input type="button" id="btn" value="premi qui" /> </body> </html>
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5