title: How can I do a /resolve with the Soundcloud Javascript SDK?
body: <p>I would like a user of my app to </p>
  
  <ol>
  <li>paste in a Soundcloud track URL to a <code>&lt;input&gt;</code> field</li>
  <li>press a submit <code>&lt;button&gt;</code></li>
  <li>have a function return the track's <code>id</code></li>
  </ol>
  
  <p>So far the only way I know how to do a <code>/resolve</code> is via command line's <code>curl</code> command as demonstrated here <a href="http://developers.soundcloud.com/docs/api/reference#resolve" rel="nofollow">http://developers.soundcloud.com/docs/api/reference#resolve</a>. Is there a way to do this via a Javascript function? </p>
  
  <p>e.g.</p>
  
  <pre><code>SC.resolve(trackURL, id, function(id, error){});
  </code></pre>