Skip to main content

Bug Tracker

Side navigation

#376 closed bug (wontfix)

Opened November 10, 2006 04:36PM UTC

Closed November 11, 2006 12:13PM UTC

Last modified June 20, 2007 02:48AM UTC

Apparent conflict between prototype & jquery in IE6 & IE7

Reported by: rmarmer1@yahoo.com Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: Cc:
Blocked by: Blocking:
Description

Rails app using prototype defaults & jquery(1.0.3) - Rails' text_field_with_auto_complete works in FF(1.5 & 2) but not in IE(6 or 7).

In order to isolate the problem, I created a simple Rails app as follows:

++++++++++++++++++++++++++++

Controller: (test_controller.rb)

class TestController < ApplicationController

auto_complete_for :item, :name

def index

end

end

=

View: (index.rhtml)

<%= text_field_with_auto_complete :item, :name %>

=

In the layout (test.rhtml) I added

<%= javascript_include_tag "prototype" %>

<%= javascript_include_tag "controls" %>

<%= javascript_include_tag "effects" %>

<%= javascript_include_tag "jquery" %>

Once jquery is added, the auto complete breaks in IE6 & IE7, but works fine in FF1.5 & FF2.

Attachments (0)
Change History (1)

Changed November 11, 2006 12:13PM UTC by joern comment:1

resolution: → wontfix
status: newclosed

There is documentation available to get jQuery working with Prototype: http://jquery.com/docs/PrototypeAndJQuery/