Current location: Hot Scripts Forums » General Web Coding » JavaScript » refreshing external js file


refreshing external js file

Reply
  #1 (permalink)  
Old 06-17-04, 04:57 PM
fs22 fs22 is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
refreshing external js file

Is there a way to refresh an external js file without reloading the page?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-17-04, 05:40 PM
cshark's Avatar
cshark cshark is offline
Wannabe Coder
 
Join Date: Jan 2004
Location: Indianapolis
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
You might be able write a timer that refreshes the script you call. Or you could assign something similar to a button.
__________________
Later
Cshark

Try <a href="http://shorthand.org">Shorthand</a>, an exciting new language for web applications.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-18-04, 12:23 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
To actually refresh the script, give the script tag an id and change its src value.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
<Select> selected value equal to external file fs22 JavaScript 1 05-19-04 01:24 PM
global variables in external file Dr-Leech JavaScript 1 05-15-04 03:28 PM
Getting the created file (fopen/fwrite) Programme PHP 5 02-14-04 04:09 PM
Please I Need help before all my hair is gone! LisatheNovice Perl 6 11-22-03 04:05 PM
Upload file type and size limiter! Arctic ASP 1 08-02-03 08:06 PM


All times are GMT -5. The time now is 01:54 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.