redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers

Ask your IT question here

the best way for putting javascript into external js file



 
Post new topic   Reply to topic    Programming Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
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?

Reply with quote
 
autos06
Enthusiastic Coder


Joined: 13 May 2006
Posts: 123
Location: New York
Just do it? Wink
Add <script type="text/javascript" src="/path/to/external.js"></script> into the <head> and be done Wink

Reply with quote
 
Page 1 of 1
Post new topic   Reply to topic    Programming Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group