Modify ↓
Ticket #7603 (closed bug: worksforme)
got error while iterating the event object
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://dev.beta.crush.com/js/jquery.js :: anonymous :: line 32" data: no
$(".inbox-email-list").click(function(eventObject) {
var sdsd= ""; try {
jQuery.each(eventObject.target, function(i, val) {
sdsd = sdsd+i+":"+val+"\n";
}); }catch(err){
alert(err);
Handle errors here
}
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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, test against the jQuery 0 GIT version to ensure the issue still exists. Be Excellent to eachother!