Firefox anomaly in JavaScript
Firefox anomaly in JavaScript
While coding YUI dialog boxes this past week, I ran into the following error that seemed to only happen in Firefox:
The real issue was that this wasn't something I was doing myself, but rather something in YUI's dialog code that was calling the focus() method when the dialog box opened up, triggering the error. To solve the issue, I added the following code to my page init to disable autocomplete on all the input elements:
It's not the most elegant solution, but it worked! As WebGUI uses more and more YUI components we will certainly run into issues like this one, so I plan to keep you updated on all the little anomalies I find.
Re: Firefox anomaly in JavaScript·
Good sleuthing Frank! I assumed it was just one of those weird Firebug issues that only the odd developer would see. Did you report it as a bug at the new YUI bug page? |

