Dan... It's only happening in IE 6 & 7 And even then, not all the time (as I mentioned). It appears that my production code seems to be working correctly. Here's a few URLs for you all to preview:
Here's an example of the code (working) on a page with no Flash content: http://www.courtesyportland.com/pages/page.cfm?pageid=70810&pagetype=37&feat ureid=-1&bhcp=1 Here's the SAME exact code, with the addition of a Flash movie using plain ole object/embed code: http://www.courtesyportland.com/pages/page.cfm?pageid=28691&pagetype=37&feat ureid=-1&bhcp=1 And finally, here's the same code with a Flash file embedded using SWFObject: http://www.courtesyportland.com/pages/page.cfm?pageid=28690&pagetype=37&feat ureid=-1&bhcp=1 -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan G. Switzer, II Sent: Thursday, May 03, 2007 2:19 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: SWFObject.js, IE and the onChange handler Andy, >This is an extension of my post from yesterday...I've got some more >information and it's quite tricky. > >My company uses SWFObject extensively to rewrite our SWFs. It's in >loads of places at the moment. Now, my coworker and I are writing some >related selects which work fine on a page by themselves, but when >combined on a page which uses SWFObject, the onChange handler in IE stops working. > >We're having trouble duplicating this exactly as sometimes it works and >sometimes it doesn't. But it appears that when SWFObject.js (1.4 or >1.5) is combined with jQuery.js and the change event handler the event >handler (at least for select boxes) stops working. > >Has anyone else has experience with this? Does anyone have ideas of >what it could be or how to get around it? Here's what we know: > >1) Without swfobject.js being used, the code works everytime. >2) When swfobject.js is used, the code only works about 1/10 of the time. >3) It almost seems like it has something do with the addVariables >method of the Flash object, but we can't be sure of that either. Is this happening in every browser? I took a look at the source code for SWFObject I didn't see anything that jumped out to me as being a conflict. The only thing I saw that could be questionable, could be questionable is this line: /* add document.getElementById if needed (mobile IE < 5) */ if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }} Which really shouldn't even be executed for jQuery support browsers. -Dan