Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2034 closed bug (worksforme)

[document.ready - Bug] Multiple Requests

Reported by: JulianHH Owned by:
Priority: major Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

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 (3)

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

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by JulianHH

Attachment: jquery_bug.jpg added

Changed 13 years ago by davidserduke

Attachment: some.html added

test case data

comment:1 Changed 13 years ago by davidserduke

Milestone: 1.2.11.2.2
Resolution: worksforme
Status: newclosed

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 13 years ago by davidserduke

Attachment: jquery_test.html added

test case (built based on description)

comment:2 Changed 13 years 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.