Skip to content
hack for ie select box drop-downs not expanding like firefox, safari, etc.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
jquery.ieselect.js
jquery.ieselect.min.js
readme.txt

readme.txt

/*
 * jquery.ieselect.js
 * 
 * John Griffiths
 * 
 * Hack for Internet Explorer allowing a drop-down select box 
 * to operate moderately the same as in Firefox, Chrome or Safari.
 * 
 * Basically when the select box is set to a specific size in FF but
 * contains more than this limit it expands when selecting but in IE
 * it cuts off.
 *
 * Here we apply the hack to our select box, set a min & max width and
 * onfocus it expands to the max, and onblur it contracts to the min.
 *
 * We also check to see which browser we're running to apply the patch
 * only to IE.
 * 
 */
Something went wrong with that request. Please try again.