trouble with IE when using .change

trouble with IE when using .change


I am new to jQuery, and I'm trying to dynamically show/hide a div with
some radio boxes based on the input:
$('#formHideSex').hide();
$("input[@name='sex']").change(function(){
$("input[@name='sex']:checked").val() == 'female' ? $
("#formHideSex").show('slow') : $("#formHideSex").hide('slow');
});
this works fine in FF, but no in IE,
is there some work around that I can use for IE?
thanks in advance!
-robert