The LinkedIn Getting Started page shows the following way to include a javascript file.
<script type="text/javascript" src="http://platform.linkedin.com/in.js">
api_key: your_api_key_goes_here
</script>
My question is - how can I do this? It would be cool if I could do this:
<script type="text/javascript" src="helloWorld.js">
inputParam: Hello World!
</script>
and then in helloWorld.js
function getParam(name) {
/* Fill in logic here, but somehow should return "Hello World!" */
}
alert(getParam('inputParam'));