Bug Tracker

Ticket #2034 (closed bug: worksforme)

Opened 12 months ago

Last modified 12 months ago

[document.ready - Bug] Multiple Requests

Reported by: JulianHH Owned by:
Priority: major Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Needs: Review

Description

Hi there!

When I have an ajax call (such as $('#myid').load("some.html")) placed within the document.ready function, I get the page loaded multiple times (see attachment).

This does not happen when using jQuery 1.2.

Anyone else with this bug?

Thanks for any help, regards, Julian Huppertz

Attachments

jquery_bug.jpg (94.5 KB) - added by JulianHH 12 months ago.
some.html (20 bytes) - added by davidserduke 12 months ago.
test case data
jquery_test.html (0.7 KB) - added by davidserduke 12 months ago.
test case (built based on description)

Change History

Changed 12 months ago by JulianHH

Changed 12 months ago by davidserduke

test case data

Changed 12 months ago by davidserduke

  • status changed from new to closed
  • resolution set to worksforme
  • milestone changed from 1.2.1 to 1.2.2

I tested it in FF2.0.0.11 which appears to be what you used given your FireBug screen shot and it worked fine. I suspect you have something else going on. Try out the attached test case and see if it works for you. If not, reopen the bug and give additional details like exact what version of the browser you are using and any other specifics you can about your setup.

Changed 12 months ago by davidserduke

test case (built based on description)

Changed 12 months ago by JulianHH

Well, thanks for your help anyway. I'm going to test this one a little more in detail and report back if I find something.

Note: See TracTickets for help on using tickets.