473,394 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to solve IE and Firefox problem

How to solve IE and Firefox problem? can anybody help me.

IE
When reloading a page in IE no form items are re-populated.
When going back IE repopulates all form items but resets JavaScript variables and loses the state of DIVs – meaning that any UI changes and any JavaScript state changes used to detect changes made by the user are lost when going back to a previous page.

FireFox
When reloading a page Firefox will re-populate some form items. This is a problem if we use JavaScript to detect changes since the JavaScript will not trigger.
When going back Firefox will re-populate some form items but maintains JavaScript variable state and DIV state – this means that we can use JavaScript to detect changes which will remain consistent after going back, although some form items may have been reset.
Nov 14 '07 #1
3 1611
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

now it depends on your requirements ... to have a consistent state each time you have to control it for your own. you may create a init-function that populates the page with defaults on load of the page ... in case you want some values persistent during a session ... you may use cookies and populate the values on load from that values ...

kind regards
Nov 14 '07 #2
acoder
16,027 Expert Mod 8TB
Show the code for the page in question or a link to a test page.

Edit: yes, what he said ^^
Nov 14 '07 #3
dmjpro
2,476 2GB
Show the code for the page in question or a link to a test page.

Edit: yes, what he said ^^
I think GITS has a good idea .....

Debasis
Nov 14 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::...
6
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the...
2
by: NannMaw | last post by:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Server Error in '/WebSite1' Application. -------------------------------------------------------------------------------- Invalid postback or callback argument. ...
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.