Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Re:Refresh the page only once-reg


  • From: Micha.Schopman at modernmedia.nl (Micha Schopman)
  • Subject: [Javascript] Re:Refresh the page only once-reg
  • Date: Mon Oct 17 04:11:23 2005

Because the function is invoked on each page reload. You could try
setting a cookie, and only reload if the cookie has not been set yet. Or
you can do a document.replace provided url parameters to notify the
script not to reload anymore, etc. 
Bottomline, the script needs to know if the current page is the result
of a reload. 
Micha Schopman 
Project Manager
Modern Media, Databankweg 12 M, 3821 AL  Amersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380 
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
________________________________

From: javascript-bounces@xxxxxxxxxx
[mailto:javascript-bounces@xxxxxxxxxx] On Behalf Of Jai Sankar N
Sent: maandag 17 oktober 2005 8:52
To: javascript@xxxxxxxxxx
Subject: [Javascript] Re:Refresh the page only once-reg
 
Hi Anthony Ettinger,
 
i'm put the my function in top of the script and it's called in only one
location but it is recursively running...
 
Jai Sankar N
________________________________

Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
<http://pa.yahoo.com/*http:/us.rd.yahoo.com/evt=36035/*http:/music.yahoo
.com/unlimited/> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20051017/8064aa5a/attachment.html