Fix for Fix for contexts?

  1. $('input[name=profile_party]').change(function(){
  2.   if ($(this).attr('id') == 'edit-profile-party-Personal') {
  3.     $('.fieldset-corporate').addClass('hidden');
  4.     $('.fieldset-personal').removeClass('hidden'); }
  5.   else if ($(this).attr('id') == 'edit-profile-party-Corporate') {
  6.     $('.fieldset-corporate').removeClass('hidden');
  7.     $('.fieldset-personal').addClass('hidden'); }
  8.   } ).filter(':checked').change();

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.