A
amerar
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???
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???