web hosting and development forums
Web Design and Development Forums Archive


Index - JavaScript forum

the best way for putting javascript into external js file


Post reply

When I have <a href="#" onclick="Effect.BlindUp('user-login-form');; return false;">Blind me up</a> and I want to put the javascript into an external .js file, whats the best way todo that?
Just do it? ;) Add <script type="text/javascript" src="/path/to/external.js"></script> into the <head> and be done ;)




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com