Showing posts with label jquery.combobox. Show all posts
Showing posts with label jquery.combobox. Show all posts

Friday, June 12, 2009

JQuery combobox plugin fixed for IE7

A useful JQuery plugin to display HTML Select element has been developed by Sanchez Salvador and team. Latest version can be downloaded from here (0.1.2.7). The plugin is good and fulfills the need of having a uniform select boxes across browsers.
However the latest version when tried on IE7 was causing page to jump whenever we selected any dropdown box. The reason was that the implementation was done by using focus and blur events of Javascript on the div wrapping the select box. In IE7 what happens is that when we focus any div, it cause page to auto scroll to the view where div is located causing page jumps. The same used to work fine on earlier versions of IE namely IE6. The same also works fine on FF2 and FF3. It seems that as MS upgrades the version of their IE they make many fundamental changes, which causes developers like us to rewrite certain parts of our applications to support them on their newer versions.
IE infact has few other bugs too, namely handling on z-index of CSS, which I think they have fixed it in IE8 (making it W3C compliant). For fix of this we had to patch using IFrames. There are some more issues like setting min/max-height/wdith is not possible in IE. For these too there are some custom fixes of patch available. Maybe thats the reason why browsers like FF are more popular with development community. I hope IE sticks closer to w3c standards in their coming versions.

Anyway coming back to the issue with the JQuery combobox plugin on IE7, this issue of page jump has been fixed, by changing the implementation of dropdown show/hide using mouse click events instead of using focus/blur.

The latest package can be be download from here (0.1.2.8). I am calling this version 0.1.2.8.
So if you are a user of this plugin and have been facing this problem in IE7, this version may help you. If you have any problems feel free to contact me.

Thanks
Sachin

update: Please download this link for a bug fix.
update: The JQuery combobox plugin made compatible with jQuery version 1.3.x. Please download it again from this link for the latest copy.
update: The JQuery combobox plugin made compatible with jQuery version 1.7.x. Please download it again from this link for the latest copy.