views:

575

answers:

1

Hi,

i am using jquery autocomplete in 2 places in the same page:

One in the header and one in the body of the page.

Both work fine in Firefox and Chrome.

But in IE the autocomplete in the header works fine and not the one in the body.

Could someone please let me know what the problem could be and a possible solution?

Thanks in Advance, Rohini

A: 

Given the lack of examples, I'm only guessing based on a problem I had yesterday with IE7 and the jQuery autocomplete plugin.

In the source code, there is a section of code around line 281 that looks like this:

if ($.browser.msie) {
    // we put a styled iframe behind the calendar so HTML SELECT elements don't show through
    $results.append(document.createElement('iframe'));
}

Comment it out, clear your browser cache, and try again.

Neil T.