Need to hide / show additional payment option when selected
I have added an additional payment option to the checkout page. <input type="radio" id="payment-option-po" class="payment-options" name="payment-type" value="po" onclick="wa_paymentChanged()" tabindex="0">
I have also added an additional fieldset to the form on the confirm page. <fieldset class="NewFromBlank_Default" id="PO_Info">
I'm trying to change the javascript code in paymentoptions.js to show the PO_Info fieldset and hide the Payment_Info fieldset when the radio button is clicked and show the Payment_Info fieldset but hide the PO_Info fieldset when the credit card radio button is clicked. I assumed I needed to change the code within the wa_paymentChanged() function but I'm having no luck. Can you help direct me to the code I need to change to make that happen?