Can Javascript be reloaded

T

Tom Szabo

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
 
R

Randy Webb

Tom said:
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.
 
T

Tom Szabo

Thanks very much

Tom


Randy Webb said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top