Hey,
I was wondering if anyone could show me a little javascript. I've never used it before and am unfamiliar with how to reference outside API's.
What I'm trying to do is read a string in from a website/Web API. So..:
HTML with javascript document:
<script type="text/javascript">
var wantedString = http://foo.bar/prototype?misfunction&itemId=1
</script>
Web API or http://foo.bar/prototype?misfunction&itemId=1 accessed in a web browser would show:
foo bar text
I need help getting the text from the web API with the javascript document.
Thanks!