- Dave,I don't have a good answer for you, but I don't think YUI (or even your own scripts) are the issue here.1. Take your file and strip out all of the YUI components and your own scripts and CSS.2. Load the file in FF 220.127.116.11 with Firebug3. Go to the inspect mode and the HTML tabFor me, immediately I see the XX in those selects. FireBug's DOM inspection doesn't show us any contents of the <select>, but the XX's are still showing up.The XX's can show up even with FireBug disabled, so I doubt it's FireBug's issue, either.It seems to me I can make the effect go away just by adding an empty <option> </option> to the <select>s that are exhibiting that behavior.Regards,EricOn Jun 1, 2007, at 11:51 AM, davehaber wrote:
- No, no more than why the FireBug inspect functionality would do so.Adding the empty <option> probably works in either case, though.Regards,EricOn Jun 1, 2007, at 1:54 PM, davehaber wrote:
- Ever since HTML 3, SELECT objects have "required" at least one OPTION
element, so it must be something in FF 18.104.22.168 that is error checking
In fact, it turns out to be a known bug that somehow made it back into
the build for 22.214.171.124:
Good to know we're not all going too crazy.
> I don't have a good answer for you, but I don't think YUI (or even
> your own scripts) are the issue here.
> 1. Take your file and strip out all of the YUI components and your
> own scripts and CSS.
> 2. Load the file in FF 126.96.36.199 with Firebug
> 3. Go to the inspect mode and the HTML tab
> For me, immediately I see the XX in those selects. FireBug's DOM
> inspection doesn't show us any contents of the <select>, but the XX's
> are still showing up.
> The XX's can show up even with FireBug disabled, so I doubt it's
> FireBug's issue, either.
> It seems to me I can make the effect go away just by adding an empty
> <option> </option> to the <select>s that are exhibiting that behavior.
> Eric Miraglia
> Yahoo! User Interface Library
> On Jun 1, 2007, at 11:51 AM, davehaber wrote:
> > OK. It took me a little while because I'm having the actual trouble
> > on an internal tool, but I've set up a functional demo of what I'm
> > doing on an outside server:
> > http://www.davidhaber.com/yuitest.html
> > Error behavior: Select anything in any of the three drop-down boxes.
> > The empty select boxes will change from empty to "xx".
> > To see the page actually do some ajax and json: In the make dropdown,
> > select "Ford" or "Chevrolet". The "alternate make" select box will
> > automatically change to some corresponding makes. In the "new model"
> > dropdown, "Cadillac Escalade" will cause the new model select box to
> > change.
> > I have confirmed, with this exact same page, it does not have
> > the "xx" problem in Firefox 188.8.131.52 or any version of MSIE. This
> > problem only occurs with Firefox 184.108.40.206 which came out yesterday
> > morning.
> > Any light you can shed on this would be most appreciated. Thanks!
> > -Dave