473,471 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

include javascript files

how can i include javascript files in aspx pages.

Thanks

Manny
Nov 18 '05 #1
4 3796
Do you want to programmatically do this or can you use the standard
javascript include in the <HEAD> section of the page using the <SCRIPT
SRC="whatever/something.js" type="text/javascript"></SCRIPT> tags?
Thanks,
Ian Suttle
http://www.IanSuttle.com

Nov 18 '05 #2
<script src="myScript.js"></script>

Eliyahu

"Manny Chohan" <Ma*********@discussions.microsoft.com> wrote in message
news:3A**********************************@microsof t.com...
how can i include javascript files in aspx pages.

Thanks

Manny

Nov 18 '05 #3
thanks guys.....

"Ian Suttle" wrote:
Do you want to programmatically do this or can you use the standard
javascript include in the <HEAD> section of the page using the <SCRIPT
SRC="whatever/something.js" type="text/javascript"></SCRIPT> tags?
Thanks,
Ian Suttle
http://www.IanSuttle.com

Nov 18 '05 #4
Hi Manny,
You can try registering it:-
Check here-
http://www.ondotnet.com/pub/a/dotnet...15/aspnet.html
Enjoy
"Manny Chohan" wrote:
thanks guys.....

"Ian Suttle" wrote:
Do you want to programmatically do this or can you use the standard
javascript include in the <HEAD> section of the page using the <SCRIPT
SRC="whatever/something.js" type="text/javascript"></SCRIPT> tags?
Thanks,
Ian Suttle
http://www.IanSuttle.com

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Peter Bassett | last post by:
I have a .shtml file, that displays photos, in which I wish to pass some functionality off to an Include file for reusability purposes. Unfortunately, it's not working. Here is a portion of the...
22
by: Weston C | last post by:
I know of course that you can use <script src=""></script> in an HTML document to include javascript code you don't want to spill all over the page. I'm wondering if there's a way to include...
4
by: JP SIngh | last post by:
Hi All I want to include javascript files based on the user location which I store in a session variable upon user login. The original code was like this <SCRIPT language=JavaScript...
17
by: lallous | last post by:
Hello Sometimes, I don't know when exactly, when I try to include an external js file as: <script src='myfile.js'></script> that .js file goes not included in some cases!! To solve it, I...
7
by: Fabri | last post by:
I'm trying to develop a way to include static files in htm pages with javascript. I'm trying to use XMLHTTP object this way: ...
3
by: Brit | last post by:
Hello, I have been trying to include a js file from within another js file. I can get this to work for firefox, but not i.e. What I have is a.html ... <script language='JavaScript'...
3
by: John Yopp | last post by:
I seem to be have problems with what appears to be variable scoping. If I define a constant in my main HTML page, I do not seem to be able to reference it within functions in JavaScript include...
2
by: William van Zwanenberg | last post by:
Hi there, I wonder if you guys can help. I'm currently experiencing some coding problems what with trying to use PHP and javascript in tandem. What I'm ultimately trying to achieve is use...
1
by: mtek | last post by:
Does Javascript support include files? I have some functions that I need in 4 pages with Javascript. Can I somehow include that data by using a general include file? All of the Javascript is...
2
by: =?Utf-8?B?UGFi?= | last post by:
I am developing the web controls and try to include all client files: scripts, styles, etc in an assembly as resource common way like: , and use ClientScriptManager class. I have faced a problem...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.