Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Firefox and Dropdownlist
Name: davser Date: April 16, 2007 at 10:56:09 Pacific OS: Windows XP CPU/Ram: Centrino/512 Product: Intel
Comment:
I have a problem with my dropdownlist in firefox...I load information for a file, everything is perfect until i refresh, then firefox lose all my data in the dropdownlist. Can anybody help???No problem in IE
Name: Michael J (by mjdamato) Date: April 16, 2007 at 11:37:38 Pacific
Reply:
Can you elaborate on "I load information for a file"?
Sounds like a cache issue. Are you using a server-side implementation?
Michael J
0
Response Number 2
Name: davser Date: April 17, 2007 at 08:44:48 Pacific
Reply:
Yes I'm using server-side implementation (Apache and PHP) I read the values of the file in variables, then I write to the dropdownlist.
foreach ($fich as $line) echo "<option value....
Cache from web server, I think dont make sense (everything is ok on explorer) maybe Firefox post cache (but it works in the first time...)???
0
Response Number 3
Name: Michael J (by mjdamato) Date: April 17, 2007 at 14:41:30 Pacific
Reply:
It appears that IE is caching your values locally and Firefox is not. Since you most likely have not specified caching rules for the page each app is making up it's own mind of how to handle it.
Try adding this at the top of the PHP page to force the browser to cache the form data:
header("Cache-control: private");
Michael J
0
Response Number 4
Name: davser Date: April 19, 2007 at 03:07:13 Pacific
Reply:
I have tried the line header("Cache-control: private"); and still no cache.
But your right, firefox is caching the values if I do a remote access. So the problem is with my local test server. Less bad, no problem for the client ;)
but I'm still looking for a way to make firefox cache locally my dropdownlist.
Summary: I'm going to guess that there is a syntax problem in your code that is preventing the style sheet to load properly. IE is very forgivving (in fact, too forgiving) of errors in your code. Browsers such...
Summary: Ive spent the last week of my time putting together a music website, it looks excellent! however, after spending a lot time testing it worth Firefox and making alterations so it displays fine, i still...
Summary: Hi Khalid, I took your advise and this is what I am using. <embed src="celine.mp3" width=50 height=15 autostart=true align=right repeat=true> This seems to work Opera, FireFox and IE, and still all...