Bug Tracker

Opened 6 years ago

Closed 5 years ago

#9544 closed bug (invalid)

getJSON event fires twice

Reported by: fodawim@… Owned by: fodawim@…
Priority: undecided Milestone: 1.next
Component: ajax Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

I have a page which im currently working which uses getJSON as means of submitting some data and loading data then appending it, well for some reason it seems to be firing twice and appending twice when its just simply in a $(document).ready(function() {});

Change History (3)

comment:1 Changed 6 years ago by rwaldron

  • Component changed from unfiled to ajax
  • Owner set to fodawim@…
  • Status changed from new to pending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, I've created this boilerplate: http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.

comment:2 Changed 6 years ago by anonymous

Here is a version with one of the getJSON functions.

http://jsfiddle.net/sqp5D/1/

What seems weird is it does not occur even if I set jQuery to 1.4.4, might be a issue with FireFox 7.0a1 gonna go test in other browsers now.

comment:3 Changed 5 years ago by trac-o-bot

  • Resolution set to invalid
  • Status changed from pending to closed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.