javascript call url from different domain
<p>I want to post some data via javascript to another domain. Something like:</p>

<pre><code>http://www.othersite.com/submitfunnyname?name=blah
</code></pre>

<p>The other site (othersite.com) has a REST interface that you can call (well actually this is a get example) to submit a funny name to them.</p>

<p>Can I do this already with javascript? I'm a little confused on this - I know if that service wants to return some data, I'd need to use something like JSON-P - even though here I'm submitting some data, I guess the service will return some message structure letting me know the result, so it would have to be JSON-P, right?</p>

<p>Thanks</p>
