Bug Tracker

Opened 5 years ago

Closed 5 years ago

#9443 closed bug (invalid)

error thrown

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



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 (1)

comment:1 Changed 5 years ago by timmywil

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

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.