Quick Question - Implementing Javascript Midpage.

Discussion in 'HTML & Website Design' started by matthewbeckman, Mar 18, 2008.

  1. #1
    Alright so I have a quick question. I never work with javascript, so I am wondering how I would go about calling a javascript in mid-page. I have a script in my folder "/js/login.js" and I would really like to keep the code out of the html page. I figure I can do <script type="text/javascript" src="../js/login.js"></script> in the head, and get it to actually show up in my content with another command...? It is one of those simple login/redirect scripts. Any ideas?
     
    matthewbeckman, Mar 18, 2008 IP