Bug Tracker

Ticket #9443 (closed bug: invalid)

Opened 4 years ago

Last modified 4 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 4 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.

Note: See TracTickets for help on using tickets.