title: get content from external url using javascript
body: <p>I am using freetexthost.com to store my json code..
  and now i ve to get those content from url using javascript,jquery,ajax...
  bt am being unable to get it..
  am trying following code</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Useless&lt;/title&gt;
  &lt;script type='text/javascript' src='http://code.jquery.com/jquery-1.11.0.min.js'&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  
  $.ajax({
    type:     "GET",
    url:      "http://freetexthost.com/r56ct5aw03",
    dataType: "jsonp",
    success: function(data){
      console.log(data);
    }
  });
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div class="content" &gt;Hello&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>getting an error as `Uncaught SyntaxError: Unexpected token &lt; </p>
  
  <p>is there any chances we can manipulate content of other page(url) using js...</p>