I support a site with some buggy javascipt code which I know I will have to fix eventually. One user has reported this problem with Firefox browser:
"I cannot enter any values except for the default values"
I do not know which version of Firefox. If you have Firefox on your PC, can you test this site and let me know if you have the problem reported and what version of browser. I use version 2.0.0.20 and I do not have this issue. He identifed "Kidney" section as having issues.
http://tinyurl.com/7tosoo
thanks!
need a favour - quick test with Firefox
Moderator: General Moderators
Re: need a favour - quick test with Firefox
There does seem to be a problem with being unable to select anything from the dropdown lists. I'm using FF 3.0.5.
I couldn't view the source code on the pop-up windows, so I couldn't see what's going wrong.
I couldn't view the source code on the pop-up windows, so I couldn't see what's going wrong.
Re: need a favour - quick test with Firefox
Interesting, on version 2.0.0.20, I can select drop-down element, but drop down returns to default after submit. The "selected" isn't being added to selected item....There does seem to be a problem with being unable to select anything from the dropdown lists.
I think I found the error. It looks like Firefox tightened up validation of Javscript.
Code: Select all
// bad code
echo "<script>combo_nod_sc.setSelected(\"".$sc."\");</script>\n";
// good code
echo "<script>combo_nod_sc.setSelectedItems(\"".$sc."\");</script>\n";
I changed the first one- noda mestatases, can you see if it works now?
Re: need a favour - quick test with Firefox
Tried it again, still seems to be the same. It's possible I'm still seeing the cached version, although I reloaded on the first page. But the way you are creating the smaller windows, I have no way to "reload". But reloading the main page would seem to assure that the dynamic pages are newly created. Yes, the list is there, but you just can't select it. Again, I have no way of examining the source code for those windows.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: need a favour - quick test with Firefox
~itp, now that you know it's FF3 related install FF3 and go from there, it'd be a lot simpler and faster 
Re: need a favour - quick test with Firefox
I upgraded.
Odd that behavior is so different between IE and Firefox.
IE ignores undefined javascipt functions. Firefox disables all functions that use undefined functions.
Odd that behavior is so different between IE and Firefox.
IE ignores undefined javascipt functions. Firefox disables all functions that use undefined functions.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: need a favour - quick test with Firefox
I wouldn't have thought this would be the case. I'm pretty sure a pure ECMAScript engine fatal errors on undefined function invocations so IE should do that regardless. Is it not more likely that some condition in your code means IE doesn't execute that method?
Here's what happens in Rhino - Mozilla's command-line ECMAScript engine:
[js]var bad = undefined; bad(); print("This never happens");[/js]
Here's what happens in Rhino - Mozilla's command-line ECMAScript engine:
[js]var bad = undefined; bad(); print("This never happens");[/js]
Code: Select all
java -jar js.jar -f test.js
js: uncaught JavaScript runtime exception: TypeError: bad is not a function, it is undefined.