when the checkbox is changed it should submit the form, but it does nothing with Internet Explorer while it functions perfectly in Firefox. It was also functioning with Internet Explorer with Yii version 1.1.0 before I upgrade to Yii 1.1.1.
I think the problem is related to upgrade of jquery to 1.4.2, if I see the code now it generate a code like this:
If I remember well, live() has some known problems. Some events (e.g. “change”) don’t work on all browsers, it may be the same for “click”. So I guess it’s a jQuery bug.
But I don’t know why Yii produces such js code: the activeCheckBox isn’t added dynamically, so I see no reason to use live() instead of click(). Well, that’s just my thoughts, there’s probably a good reason that I can’t see.
I’m using internet explorer 6 (because my company still use this old version), I don’t have at the moment the possibility to test on a newer explorer version.
The change event on the dropdownlist functions with no problem but it seems in Internet Explorer to go in conflict with the checkbox because if I comment the dropdownlist the click event on checkbox return to function again
I don’t know the reason and how to solve the problem.