Hi, On 9/30/06, Mungbeans <[EMAIL PROTECTED]> wrote: > > > But, it works. > > $( "#myradiobutton" ).attr( "onchange", "" ).change( function() { ... } ); > > > But it doesn't work :( > > Whenever I try to use the .attr() function (eg: .attr( "onchange", "" ) ) > firebug tells me: > > " .attr is not a function " > > In other places I've had to use set() instead.
`set` is a pre 1.0 method. Upgrade to jQuery 1.0.1 or, if you prefer to stick with an alpha version, use $( "#myradiobutton" ).set( "onchange", "" ).change( function() { ... } ); -- Choan <http://choangalvez.nom.es/> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/