javascript - How does LinkedIn script read the api_key on the script tag? -


the linkedin getting started page shows following way include javascript file.

<script type="text/javascript" src="http://platform.linkedin.com/in.js">    api_key: your_api_key_goes_here </script> 

my question - how can this? cool if this:

<script type="text/javascript" src="helloworld.js">    inputparam: hello world! </script> 

and in helloworld.js

function getparam(name) {     /* fill in logic here, somehow should return "hello world!" */ } alert(getparam('inputparam')); 


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -