Skip to main content

Bug Tracker

Side navigation

#1633 closed bug (worksforme)

Opened September 17, 2007 06:06AM UTC

Closed December 04, 2007 05:01AM UTC

Bindings in Ajax content stopped working in 1.2.1

Reported by: back-2-95 Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2
Keywords: bind Cc:
Blocked by: Blocking:

When I upgraded 1.2 to 1.2.1, all my bind commands in Ajax content stopped working.

For example I have following js-code in Ajax-content:

<script type="text/javascript">

$("ul#tools a").bind






return false;




$("ul#tools a") seems to find object but it won't bind anything to them.

I normal content bind seems to work. And in 1.2 it works in both normal and Ajax content.

Attachments (1)
  • jquery_test.html (0.7 KB) - added by davidserduke December 04, 2007 04:59AM UTC.

    test case (built based on description)

Change History (2)

Changed September 27, 2007 09:04PM UTC by davidserduke comment:1

I couldn't reproduce this bug unless the DOM wasn't ready yet.

Adding $(document).ready() to your code it seemed to work fine.

Changed December 04, 2007 05:01AM UTC by davidserduke comment:2

need: ReviewTest Case
resolution: → worksforme
status: newclosed

I built a test case based on the description and it works for me. If you have a test case that fails please reopen the ticket and attach it.