Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7346 closed bug (invalid)

$('#id').html(data[i][2]); results in uncaught exception

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:


used: jQuery JavaScript Library v1.4.3 on Win7/Mozilla Firefox 3.6.12

error: uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMDocumentFragment.appendChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: ../jquery.js :: anonymous :: line 4929" data: no]

data-array contains char-array/string, the content if the string does not matter, exception will occur anyhow.

Change History (4)

comment:1 Changed 12 years ago by anonymous

to hand over String(data[x][y]) instead of data[x][y] does help - would like to know it that behavior is usual.

comment:2 Changed 12 years ago by jitter

Please provide a minimal test case which reproduces your problem on http://www.jsfiddle.net

Last edited 12 years ago by jitter (previous) (diff)

comment:3 Changed 12 years ago by snover

Owner: set to anonymous
Status: newpending

Please provide a test case.

comment:4 Changed 12 years ago by addyosmani

Resolution: invalid
Status: pendingclosed

We appreciate you reporting an issue experienced when using jQuery.

As per our guidelines, all submitted tickets must contain a test case that reproduces the issue you are experiencing.

This allows us to test your bug thoroughly and evaluate whether it is a jQuery core issue. As you have not submitted the requested test case, we will be closing this ticket as invalid.

Please feel free to submit a test-case if you are still experiencing this issue and we will re-investigate as soon as possible.

Note: See TracTickets for help on using tickets.