Opened 12 years ago
Closed 12 years ago
#9443 closed bug (invalid)
error thrown
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | core | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
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 12 years ago by
Component: | unfiled → core |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.