views:

92

answers:

0

Hi,

I'm playing around with the Ajax 4 preview & am stuck on something... I've got the following dataview:

<ul id="paymentOptionListView" class="list sys-template">
    <li>

        <input id="Radio{{ PaymentOptionId }}" type="radio" name="radPaymentOption" value="{{ PaymentOptionId }}" />
        <span class="value">{{ PaymentOptionText }}</span>
    </li>
</ul>

How do I get the selected radio button in the list using javascript?

Appreciate any help.

Cheers.