read variable from file
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

read variable from file

From: ark312 <ark312@home.nl>
Date: Fri Jun 17 2005 - 14:04:10 CEST

Hello,

I'm using a java-script in a HTML-page. Part of the script is the line:

var limit = 1136 - 1101;

The value 1136 is a counter and changes permanantly. In VB I can write a
routine which prints the actual value to a fule called COUNTER.TXT.

Can I change my JavaScript in such a way that it reads the value of the file
COUNTER.TXT?

Thanks,

Sjoerd
Received on Mon Oct 24 02:12:52 2005