Depending upon what the second script does, there
are a couple of different ways.
1. Combine the scripts. If the second script defines a function,
place the function in the first script, as a script can have several
"unrelated"
functions.
2. Place the script in an external .js file and call it like this:
<script type="javascript" src="extfile.js">
</script>
3. set it as a separate second script in the body.
The browser will keep them separate.
hth
--
95isalive
This site is best viewed..................
...............................with a computer
"bacon_sandwich" <(E-Mail Removed)> wrote in message
news:04d901c3de72$e55cd450$(E-Mail Removed)...
> I would like to put a second script into a page already
> containing a script with a line of code inside the <head>
> and <body> tags themselves. I need to know the correct
> syntax to separate the two (not sure what to call them..)
> reference (?) lines when I put the new script in.
>
> Any ideas?! I've seen this before, and I know it's simple
> but I can't remember what to use!
>
> Fanks
>
> ....beercansandwidge...
|