Some refresh question
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

Some refresh question

From: <amerar@iwc.net>
Date: Thu Jan 26 2006 - 18:39:11 CET

Hi All,

I have an HTML form which contains A LOT of Javascript. When
submitted, a Perl/CGI program parses the form, processes the data, and
reposts the new data onto the screen.

Problem is, not all the data gets reflected. In the form I have the
following Javascript include:

<script language="JavaScript1.2" src="$filename"
type="text/javascript"></script>

The file is updated by the Perl/CGI script. I've checked, and the file
is updated properly.

Also in the form is the following code:

<span onMouseOver="stm(Text[$i],Style[1])"
onMouseOut="htm()">$subject[$i]</span>

Basically, when you move the mouse over the lines displayed on the
screen, a small popup displays. It basically works. If I hit F5 to
refresh, all of the items display properly when the mouse moves over
them.

If I add new data using the form, although the file on disk is updated,
and if I look at the page source the information is there, when I move
the mouse over the menu, the newest item does not get the popup. I
need to hit F5 in order to refresh that........

So, is there something about having Javascript includes, and not
refreshing properly or something???
Received on Tue Feb 7 21:24:02 2006