Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>JQuery (cross-domain) JSONP Twitter example</title>
        <script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
        <script>
            $(document).ready(function(){
                $.getJSON("http://sp2013xrm.cloudapp.net/XrmData.svc/AccountSet?$format=json", function(response){
console.log(response[0]);
                 
                  $.each(response[0].tasks, function(i, task){
                        $('#tasks').append('<li>' + task.description +'</li>');
                    });
                });
               
            });
        </script>
    </head>
    <body>
        <ul id="tasks"></ul>
    </body>
</html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers