Skip to main content

Bug Tracker

Side navigation

#6387 closed bug (invalid)

Opened April 01, 2010 08:07PM UTC

Closed June 15, 2010 01:14AM UTC

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:
Blocked by: Blocking:
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.

Attachments (0)
Change History (3)

Changed April 02, 2010 01:52AM UTC by miketaylr comment:1

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

Changed June 15, 2010 01:14AM UTC by dmethvin comment:2

component: unfiledajax

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

Changed June 15, 2010 01:14AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed