Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
    <title>Untitled Page</title>
    <script type="text/javascript" src="Scripts/jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="http://devhubplus/portal/search.js"></script>
</head>
<body>
<a href="javascript:test1(500, 'wikiResults');">Test</a>
<div id="wikiResults" style="margin-top: 35px;"></div>
  
<script type="text/javascript">
    function test1(count, targetId)
    {
        var dataSourceUrl = "http://mob.femina-me.com/Service1.svc/BranchesSelectByID/BranchID=9?callback=?";
        $.getJSON(dataSourceUrl, {c: count, test: "true", nt: new Date().getTime()}, function(results) {
                        var response = new String();
                        response += "<div>";
                        for(i in results)
                        {
                                response += results[i];
                                response += " ";
                        }
                        response += "</div>";
                        $("#" + targetId).html(response);
        });
    }
</script>
</body>
</html>
 
    function test1(count, targetId)
    {
        var dataSourceUrl = "http://mob.femina-me.com/Service1.svc/BranchesSelectByID?callback=?";
        $.getJSON(dataSourceUrl, {c: count, test: "true", nt: new Date().getTime()}, function(results) {
                        var response = new String();
                        response += "<div>";
                        for(i in results)
                        {
                                response += results[i];
                                response += " ";
                        }
                        response += "</div>";
                        $("#" + targetId).html(response);
        });
    }
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers