Problem with a jquery plugin with all versions of IE
I'm a jquery novice. In fact even more novice than that - just can't think of a suitable description!
I'm sure this is a simple fix for an experienced jquery user...
I'm building my first jquery heavy site. Only problem I haven't been able to sort is with a jquery plugin called SimpleFilter. It produces an error in Internet Explorer (all versions from 6 up).
Page works fine in Firefox and Safari but I get a script error in IE.
Here is the piece of code in that HTML page:
-
<script type="text/javascript" defer="defer"> $('#state2').simpleFilter({
data: states,
useQuicksilver: false,
maxListEntries: 10,
position: $.simpleFilterData.POSITION_ABOVE,
waitTime: 1000
})
.bind('input.simpleFilter',
function(jQEvent, text) {
if (typeof(text) != 'underfined') {
console.debug('selection:', text);
}
}
);</script>
I hope someone can point me in the right direction! Thanks in advance for any pointers...