quirks mode
January 13, 2007 6:25 AM
Subscribe
AJAX filter: I'm trying to repopulate the contents of a SELECT element, sounds simple but the damndest thing keeps happening. Every time I update this SELECT element in IE7, it shrinks by about 10px, until it finally disappears from the page entirely!
I've tried loads of different ways of doing this pretty simple operation and so far nothing has worked in IE7. (It goes without saying that firefox works perfectly every time).
When I use innerHTML or the prototype update() function, IE just displays an empty dropdown. When I manipulated the data into a series of DOM inserts, IE seemed happy enough although every time I update it shrinks the width of the select element by about 10px. Looking in the IE DOM, the styles associated with the element haven't changed: width:100%. DOCTYPE is xhtml strict, in case that makes a difference.
Anyone out there got enough kung-fu to keep me sane this arfternoon?
posted by whoojemaflip to computers & internet (10 comments total)
1 user marked this as a favorite
posted by cerebus19 at 6:47 AM on January 13, 2007