Ticket #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: | ||
| Blocking: | Blocked by: |
Description
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
comment:2 Changed 3 years ago by jitter
Please provide a minimal test case which reproduces your problem on jsfiddle.net
comment:3 Changed 3 years ago by snover
- Owner set to anonymous
- Status changed from new to pending
Please provide a test case.
comment:4 Changed 2 years ago by addyosmani
- Status changed from pending to closed
- Resolution set to invalid
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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