[jQuery] SWFObject.js, IE and the onChange handler

[jQuery] SWFObject.js, IE and the onChange handler

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=881441716-03052007><FONT face=Arial size=2>This is an extension
of my post from yesterday...I've got some more information and it's quite
tricky.</FONT></SPAN></DIV>
<DIV><SPAN class=881441716-03052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881441716-03052007><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=881441716-03052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007>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.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007>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:</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007>1) Without swfobject.js being used, the code works
everytime.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007>2) When swfobject.js is used, the code only works about
1/10 of the time.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007>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.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=881441716-03052007><SPAN
class=728271618-03052007>andy</SPAN></SPAN></FONT></DIV></BODY></HTML>