Bug Tracker

Modify

Ticket #9544 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

getJSON event fires twice

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

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

comment:1 Changed 3 years ago by rwaldron

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

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 3 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 3 years ago by trac-o-bot

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

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!

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.