Bug Tracker


Ticket #9443 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

error thrown

Reported by: cristian.jujea@… Owned by:
Priority: low Milestone: 1.next
Component: core Version: 1.6
Keywords: Cc:
Blocking: Blocked by:



I have this function in a separate javascript file:

$(document).ready(function(){ $('#cont_voz input[type=\'radio\']').click(function() { jQuery('#cont_voz input[type=\'radio\']').each().attr("checked", false); });


When I click on one of the radio buttons in the browser window, Firebug reports this error:

callback is undefined if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) {

jquery.js (linha 641)

Change History

comment:1 Changed 3 years ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to core

Incorrect usage of each. It is not needed for what you're trying to accomplish. See  http://api.jquery.com/each and you can find support on the #jquery irc support channel and on the  forums.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.