Can I load javascript code using <link> tag ?

Posted by john terry on Stack Overflow See other posts from Stack Overflow or by john terry
Published on 2010-04-13T17:14:09Z Indexed on 2010/04/13 17:23 UTC
Read the original article Hit count: 361

Filed under:
|
|

Hello,

Can I load javascript code using <link> tag in my website ?

For example I have a javascript file, test.js, which contains the simple code alert('hello');

Can I make the popup window appear using:

<link href="test.js"></link>

Thanks

© Stack Overflow or respective owner

Related posts about js

Related posts about css