Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Javascript issue with Opera7: Back/Forward buttons

Thread Tools

Javascript issue with Opera7: Back/Forward buttons

Posts: n/a
Hello group,

Quite simplified, Ive got a javascript for a page where the URL contains
perl variables for a perl script, eg
sample?test=yes&color=blue&tv=on. I then use a javascript to strip the
script variables (test=yes,color=blue,tv=on) and store them in a temp
array. This is done each time the page is loaded. And the script works for
every browser except Opera7.X.

The problem with Opera7.X happens when a user uses back/forward, and "old"
variables are still stored in the array. This sometimes produce false
results. So somehow I should make a "forced" page reload when using back
forward buttons also. Any suggestions how to do this? Ive tried
document.reload() but that didnt work the way I expected.

Thanks, and cheers for any suggestions!
Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Created Radio Buttons displaying as if they were conventional buttons Dr. Leff Javascript 3 10-15-2007 09:47 PM
The Z axis and simple menu buttons/image buttons Jonathan N. Little HTML 3 04-02-2007 09:57 AM
Datagrid Nav buttons and numeric buttons Jeremy Jones ASP .Net 1 03-22-2007 08:00 AM
Image Buttons/Buttons not responding =?Utf-8?B?QmVu?= ASP .Net 1 07-06-2005 07:34 AM
2 buttons but want enter key in textbox to execute one buttons' click event? Roger ASP .Net 1 05-20-2005 09:47 PM