471,119 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

Can Javascript be reloaded


Hi

Just wondering if an included javascript can be reloded?

Say one has a script tag:
<script language="JavaScript" src="scripts/DTV3.js"> </script>

Can the "scripts/DTV3.js" be replaced by a URL and have it dynamically
loaded?

or is it a siily thought?

TIA,

Tom
Jul 23 '05 #1
2 980
Tom Szabo wrote:
Hi

Just wondering if an included javascript can be reloded?

Say one has a script tag:
<script language="JavaScript" src="scripts/DTV3.js"> </script>

Can the "scripts/DTV3.js" be replaced by a URL and have it dynamically
loaded?

or is it a siily thought?


Do a search of the archives for "dynamically loading JS Files" and you
can find a thread where this very thing was discussed. How you go about
loading/reloading it dynamically depends on what browsers you want to
support.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2
Thanks very much

Tom
"Randy Webb" <Hi************@aol.com> wrote in message
news:zL********************@comcast.com...
Tom Szabo wrote:
Hi

Just wondering if an included javascript can be reloded?

Say one has a script tag:
<script language="JavaScript" src="scripts/DTV3.js"> </script>

Can the "scripts/DTV3.js" be replaced by a URL and have it dynamically
loaded?

or is it a siily thought?


Do a search of the archives for "dynamically loading JS Files" and you
can find a thread where this very thing was discussed. How you go about
loading/reloading it dynamically depends on what browsers you want to
support.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by LRW | last post: by
2 posts views Thread by Bruce W.1 | last post: by
3 posts views Thread by Joseph Ferris | last post: by
4 posts views Thread by gmail | last post: by
4 posts views Thread by cedwa | last post: by

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.