By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,692 Members | 1,693 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,692 IT Pros & Developers. It's quick & easy.

Javascript within the <head> </head>

P: 69
Hi guys,

I have yet another question. I am working with this html form that uses a template.

<head> //is greyed out
//some greyed out <style >stuff is next
<!-- InstanceEndEditable -->//greyed out
</head>//greyed out

<body>//greyed out
//some of the template stuff like image and banner goes here, also greyed out
<!-- InstanceBeginEditable name="body" -->//greyed out stuff ends here
//here I where i can start typing in the script.

My question is.....where do I put <script src="whatever.js"></script>
if it is supposed to be within the <head> tag and the <head> tag is greyed out.
Can i put it as the first thing after <!-- InstanceBeginEditable name="body" -->.

please help
Nov 8 '07 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 5K+
P: 5,390
hi ...

it is good practice to place it in the head of the page ... but you could put it everywhere ... the only constraint is to put it before calling any functions in it ...

kind regards
Nov 8 '07 #2

P: 69
oooohhhh.....thank you so much.
Nov 8 '07 #3

Expert Mod 5K+
P: 5,390
no problem :) ... post back to the forum anytime you have more questions ...

kind regards
Nov 8 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.