Bug Tracker

Modify

Ticket #9620 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

Events Exception on IE

Reported by: mapher87@… Owned by: mapher87@…
Priority: low Milestone: 1.next
Component: event Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:

Description

trigger a list of objects return from a jQuery selector use '.click()' for exemple, will find some unexpected actions on IE, which display works well on FF. my code like this: $("#"+tableID+"_cb_"+pk).click(); bad action on IE, but FF; $("#"+tableID+"_cb_"+pk)[0].click(); done well;

Change History

comment:1 Changed 2 years ago by anonymous

the problem occured when i try to use '.trigger("click")' instead of use '.click()', but it worked even worse for it couldn't be corrected.

comment:2 Changed 2 years ago by addyosmani

  • Owner set to mapher87@…
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to event

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket! (in its current form, your code is incomplete).

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate:  http://jsfiddle.net/rwaldron/da3nM/. Open the link and click to "Fork" in the top menu.

comment:3 Changed 2 years ago by mapher87 <mapher87@…>

js: function trMove(from_table, desti_table){ move <tr>s from one table to another, according to saved items; } function filter_td_click(td_self, pk){ function to trigger checkbox event

var tableID = $(td_self.parentNode.parentNode.parentNode).attr('id');td->tr->tbody|thead|tfoot->table; $("#"+tableID+"_cb_"+pk).cloick(); can only function at the first movement, at trMove() $("#"+tableID+"_cb_"+pk)[0].click();

} function on_checkboxChange(str_item){

saveChangeList(str_item, true); save changed items;

} html: <td><input type="checkbox" id="checked_field_cb_{{ checked_object.pk }}" class="for_checked" onclick="javascript: checkboxChange('{{ checked_object.pk }}')"/></td> <td class="clickable" onclick="javascript: filter_td_click(this, '{{ checked_object.pk }}')">{{ checked_object }}</td> >>>>>>>>>>>>>>>> i've downloaded jQuery.1.6.1, and test on the IE 7|8, the problem occurred again.

comment:4 Changed 2 years ago by trac-o-bot

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

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

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.