JQuery ieSelectStyle() function is not working in IE 7
’m using jQuery’s ieSelectStyle() function to display big contents in select box. The code is working fine with IE 8 and 9 and not with IE 7. Please see my code below
<!-- Added two jQuery files -->
<script
type
=
"text/javascript"
src
=
"jquery-1.4.2.min.js"
></script>
<script
type
=
"text/javascript"
src
=
"jquery.ie-select-style.pack.js"
></script>
<script
type
=
"text/javascript"
>
$
(
function
()
{
// calling jQuery function
$
(
'select#selectboxName'
).
ieSelectStyle
();
});
</script>
<body>
<table>
<tr>
<td>
<select
name
=
"selectboxName"
id
=
"selectboxName"
>
<option
value
=
"a"
>
Option1 option 1 Option 1
</option>
</select>
</td>
</tr>
</table>
</body>
</html>
In IE 7, I'm getting a javascript error saying exception thrown and not caught.
Could anyone please help me?