Bug Tracker

Modify

Ticket #6387 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

jQuery 1.4.1 append/get returns 304 error in Firefox and Opera

Reported by: awdewolfe Owned by:
Priority: Milestone: 1.4.1
Component: ajax Version: 1.4.1
Keywords: Cc:
Blocking: Blocked by:

Description

I have the following code in the header of a page:

<script type="text/javascript"> Include standard download options menu

$.get('/lisird/scripts/download_options.html', function(data) {

$('#download_options').append($(data));

});

</script>

which loads <select id="filetype"><option value="csv" selected="selected">Text (.csv)</option><option value="la">LASP ASCII</option><option value="zip">Zipped CSV (.zip)</option></select>

into <span id="download_options"></span>

When using jQuery 1.4.1, in Safari and Chrome, the content (a simple form selector) is loaded into the page with no problem. In Firefox and Opera, the content is not appended at all, and Firebug returns a 304 error. Reverting to 1.3.2 eliminates the problem. Thanks for looking into this.

Change History

comment:1 Changed 3 years ago by miketaylr

Have you tested this with jQuery 1.4.2, which is the most current release?

comment:2 Changed 3 years ago by dmethvin

  • Component changed from unfiled to ajax

Please check with 1.4.2 to see if the problem is still there; if so reopen with a complete test case.

comment:3 Changed 3 years ago by dmethvin

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

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.